Searched refs:bcmod (Results 1 – 7 of 7) sorted by relevance
/PHP-7.2/ext/bcmath/tests/ |
H A D | bcmod.phpt | 2 bcmod() function 9 echo bcmod("11", "2"),"\n"; 10 echo bcmod("-1", "5"),"\n"; 11 echo bcmod("8728932001983192837219398127471", "1928372132132819737213"),"\n"; 12 echo bcmod("3.5", "4", 1),"\n"; 13 echo bcmod("1071", "357.5"),"\n";
|
H A D | bcmod_error2.phpt | 2 bcmod() - mod by 0 9 echo bcmod("10", "0"); 12 Warning: bcmod(): Division by zero in %s on line %d
|
H A D | bcmod_error1.phpt | 2 bcmod — Get modulus of an arbitrary precision number 10 echo bcmod('1', '2', '3', '4'); 13 Warning: bcmod() expects at most 3 parameters, 4 given in %s.php on line %d
|
/PHP-7.2/ext/bcmath/ |
H A D | php_bcmath.h | 40 PHP_FUNCTION(bcmod);
|
H A D | bcmath.c | 104 PHP_FE(bcmod, arginfo_bcmod) 394 PHP_FUNCTION(bcmod) in PHP_FUNCTION() argument
|
/PHP-7.2/ |
H A D | UPGRADING | 47 . The bcmod() function no longer truncates fractional numbers to integers. As 49 example `bcmod('4', '3.5')` now returns '0.5' instead of '1'.
|
H A D | NEWS | 1337 . Fixed bug #46564 (bcmod truncates fractionals). (liborm85)
|
Completed in 16 milliseconds