Lines Matching refs:gmp_abs
2 gmp_abs() basic tests
8 var_dump(gmp_strval(gmp_abs("")));
9 var_dump(gmp_strval(gmp_abs("0")));
10 var_dump(gmp_strval(gmp_abs(0)));
11 var_dump(gmp_strval(gmp_abs(-111111111111111111111)));
12 var_dump(gmp_strval(gmp_abs("111111111111111111111")));
13 var_dump(gmp_strval(gmp_abs("-111111111111111111111")));
14 var_dump(gmp_strval(gmp_abs("0000")));
15 var_dump(gmp_strval(gmp_abs("09876543")));
16 var_dump(gmp_strval(gmp_abs("-099987654")));
18 var_dump(gmp_abs());
19 var_dump(gmp_abs(1,2));
20 var_dump(gmp_abs(array()));
25 Warning: gmp_abs(): Unable to convert variable to GMP - string is not an integer in %s on line %d
30 Warning: gmp_abs(): Unable to convert variable to GMP - wrong type in %s on line %d
36 Warning: gmp_abs(): Unable to convert variable to GMP - string is not an integer in %s on line %d
39 Warning: gmp_abs(): Unable to convert variable to GMP - string is not an integer in %s on line %d
42 Warning: gmp_abs() expects exactly 1 parameter, 0 given in %s on line %d
45 Warning: gmp_abs() expects exactly 1 parameter, 2 given in %s on line %d
48 Warning: gmp_abs(): Unable to convert variable to GMP - wrong type in %s on line %d