Home
last modified time | relevance | path

Searched refs:fmod (Results 1 – 9 of 9) sorted by relevance

/PHP-5.5/ext/standard/tests/math/
H A Dfmod_error.phpt2 Test fmod() - wrong params test fmod()
7 fmod();
8 fmod(23);
9 fmod(23,2,true);
13 Warning: fmod() expects exactly 2 parameters, 0 given in %s on line 2
15 Warning: fmod() expects exactly 2 parameters, 1 given in %s on line 3
17 Warning: fmod() expects exactly 2 parameters, 3 given in %s on line 4
H A Dfmod_variation2.phpt2 Test fmod() function : usage variations - different data types as $y argument
5 /* Prototype : float fmod ( float $x , float $y )
10 echo "*** Testing fmod() : usage variations ***\n";
78 // loop through each element of $inputs to check the behaviour of fmod()
82 var_dump(fmod(123456, $input));
89 *** Testing fmod() : usage variations ***
141 Warning: fmod() expects parameter 2 to be double, string given in %s on line %d
146 Warning: fmod() expects parameter 2 to be double, string given in %s on line %d
151 Warning: fmod() expects parameter 2 to be double, array given in %s on line %d
156 Warning: fmod() expects parameter 2 to be double, string given in %s on line %d
[all …]
H A Dfmod_variation1.phpt2 Test fmod() function : usage variations - different data types as $x argument
5 /* Prototype : float fmod ( float $x , float $y )
10 echo "*** Testing fmod() : usage variations ***\n";
78 // loop through each element of $inputs to check the behaviour of fmod()
82 var_dump(fmod($input, 2));
89 *** Testing fmod() : usage variations ***
141 Warning: fmod() expects parameter 1 to be double, string given in %s on line %d
146 Warning: fmod() expects parameter 1 to be double, string given in %s on line %d
151 Warning: fmod() expects parameter 1 to be double, array given in %s on line %d
156 Warning: fmod() expects parameter 1 to be double, string given in %s on line %d
[all …]
H A Dfmod_basic.phpt2 Test fmod() - basic function test fmod()
36 $res = fmod($values1[$i], $values2[$j]);
H A Dfmod_basiclong_64bit.phpt2 Test fmod function : 64bit long tests
27 var_dump(fmod($longVal, $otherVal));
/PHP-5.5/ext/standard/
H A Dphp_math.h66 PHP_FUNCTION(fmod);
H A Dmath.c956 *--ptr = digits[(int) fmod(fvalue, base)]; in _php_math_zvaltobase()
1275 PHP_FUNCTION(fmod) in PHP_FUNCTION() argument
1282 RETURN_DOUBLE(fmod(num1, num2)); in PHP_FUNCTION()
H A Dbasic_functions.c2938 PHP_FE(fmod, arginfo_fmod)
/PHP-5.5/Zend/
H A Dzend_operators.h82 dmod = fmod(d, two_pow_32); in END_EXTERN_C()
100 dmod = fmod(d, two_pow_64);

Completed in 38 milliseconds