Test Failed
Pull Request — master (#127)
by Jordan
06:46
created

DecimalTrigInverseBench::benchArcSin()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
4
namespace Samsara\Fermat\Values;
5
6
use Samsara\Fermat\Types\Decimal;
7
8
class DecimalTrigInverseBench
9
{
10
11
    public function benchArcSin()
12
    {
13
        $point5 = new ImmutableDecimal('0.5');
14
        $point5->arcsin();
15
    }
16
17
    public function benchArcCos()
18
    {
19
        $point5 = new ImmutableDecimal('0.5');
20
        $point5->arccos();
21
    }
22
23
    public function benchArcTan()
24
    {
25
        $point5 = new ImmutableDecimal('0.5');
26
        $point5->arctan();
27
    }
28
29
    public function benchArcSec()
30
    {
31
        $point5 = new ImmutableDecimal('10');
32
        $point5->arcsec();
33
    }
34
35
    public function benchArcCsc()
36
    {
37
        $point5 = new ImmutableDecimal('10');
38
        $point5->arccsc();
39
    }
40
41
    public function benchArcCot()
42
    {
43
        $point5 = new ImmutableDecimal('0.5');
44
        $point5->arccot();
45
    }
46
47
}