3 define("MAX_64Bit", 9223372036854775807);
4 define("MAX_32Bit", 2147483647);
5 define("MIN_64Bit", -9223372036854775807 - 1);
6 define("MIN_32Bit", -2147483647 - 1);
9 MAX_64Bit
, MIN_64Bit
, MAX_32Bit
, MIN_32Bit
, MAX_64Bit
- MAX_32Bit
, MIN_64Bit
- MIN_32Bit
,
10 MAX_32Bit +
1, MIN_32Bit
- 1, MAX_32Bit
* 2, (MAX_32Bit
* 2) +
1, (MAX_32Bit
* 2) - 1,
11 MAX_64Bit
-1, MAX_64Bit +
1, MIN_64Bit +
1, MIN_64Bit
- 1
14 $otherVals = array(0, 1, -1, 7, 9, 65, -44, MAX_32Bit
, MIN_32Bit
, MAX_64Bit
, MIN_64Bit
);
17 foreach ($longVals as $longVal) {
18 foreach($otherVals as $otherVal) {
19 echo "--- testing: $longVal, $otherVal ---\n";
20 var_dump(atan2($longVal, $otherVal));