| Total Complexity | 12 |
| Total Lines | 73 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class DecimalTrigBasicBench |
||
| 7 | { |
||
| 8 | |||
| 9 | public function benchSin() |
||
| 10 | { |
||
| 11 | $obj = new ImmutableDecimal(1); |
||
| 12 | $obj->sin(); |
||
| 13 | } |
||
| 14 | |||
| 15 | public function benchCos() |
||
| 19 | } |
||
| 20 | |||
| 21 | public function benchTan() |
||
| 22 | { |
||
| 23 | $obj = new ImmutableDecimal(1); |
||
| 24 | $obj->tan(); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function benchSec() |
||
| 28 | { |
||
| 29 | $obj = new ImmutableDecimal(1); |
||
| 30 | $obj->sec(); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function benchCsc() |
||
| 37 | } |
||
| 38 | |||
| 39 | public function benchCot() |
||
| 40 | { |
||
| 41 | $obj = new ImmutableDecimal(1); |
||
| 42 | $obj->cot(); |
||
| 43 | } |
||
| 44 | |||
| 45 | public function benchSinh() |
||
| 46 | { |
||
| 47 | $obj = new ImmutableDecimal(1); |
||
| 48 | $obj->sinh(); |
||
| 49 | } |
||
| 50 | |||
| 51 | public function benchCosh() |
||
| 52 | { |
||
| 53 | $obj = new ImmutableDecimal(1); |
||
| 54 | $obj->cosh(); |
||
| 55 | } |
||
| 56 | |||
| 57 | public function benchTanh() |
||
| 61 | } |
||
| 62 | |||
| 63 | public function benchSech() |
||
| 64 | { |
||
| 65 | $obj = new ImmutableDecimal(1); |
||
| 66 | $obj->sech(); |
||
| 67 | } |
||
| 68 | |||
| 69 | public function benchCsch() |
||
| 70 | { |
||
| 71 | $obj = new ImmutableDecimal(1); |
||
| 72 | $obj->csch(); |
||
| 73 | } |
||
| 74 | |||
| 75 | public function benchCoth() |
||
| 79 | } |
||
| 80 | |||
| 81 | } |