File tree Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Test tan function : 64bit long tests
3
+ --INI--
4
+ precision=5
3
5
--SKIPIF--
4
6
<?php
5
7
if (PHP_INT_SIZE != 8 ) die ("skip this test is for 64bit platform only " );
@@ -28,33 +30,34 @@ foreach ($longVals as $longVal) {
28
30
===DONE===
29
31
--EXPECT--
30
32
--- testing: 9223372036854775807 ---
31
- float(84.739312968756 )
33
+ float(84.739 )
32
34
--- testing: -9223372036854775808 ---
33
- float(-84.739312968756 )
35
+ float(-84.739 )
34
36
--- testing: 2147483647 ---
35
- float(1.0523779637351 )
37
+ float(1.0524 )
36
38
--- testing: -2147483648 ---
37
- float(4.0842894552986 )
39
+ float(4.0843 )
38
40
--- testing: 9223372034707292160 ---
39
- float(-0.25738520049439 )
41
+ float(-0.25739 )
40
42
--- testing: -9223372034707292160 ---
41
- float(0.25738520049439 )
43
+ float(0.25739 )
42
44
--- testing: 2147483648 ---
43
- float(-4.0842894552986 )
45
+ float(-4.0843 )
44
46
--- testing: -2147483649 ---
45
- float(0.34328416030117 )
47
+ float(0.34328 )
46
48
--- testing: 4294967294 ---
47
- float(-19.579238091943 )
49
+ float(-19.579 )
48
50
--- testing: 4294967295 ---
49
- float(-0.57225137018055 )
51
+ float(-0.57225 )
50
52
--- testing: 4294967293 ---
51
- float(0.71667000824652 )
53
+ float(0.71667 )
52
54
--- testing: 9223372036854775806 ---
53
- float(84.739312968756 )
54
- --- testing: 9.2233720368548E +18 ---
55
- float(84.739312968756 )
55
+ float(84.739 )
56
+ --- testing: 9.2234E +18 ---
57
+ float(84.739 )
56
58
--- testing: -9223372036854775807 ---
57
- float(-84.739312968756 )
58
- --- testing: -9.2233720368548E +18 ---
59
- float(-84.739312968756 )
59
+ float(-84.739 )
60
+ --- testing: -9.2234E +18 ---
61
+ float(-84.739 )
60
62
===DONE===
63
+
You can’t perform that action at this time.
0 commit comments