Searched refs:getFloat (Results 1 – 9 of 9) sorted by relevance
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | getFloat_error.phpt | 2 Random: Randomizer: getFloat(): Parameters are correctly validated 23 var_dump(randomizer()->getFloat(NAN, 0.0, $boundary)); 29 var_dump(randomizer()->getFloat(INF, 0.0, $boundary)); 35 var_dump(randomizer()->getFloat(-INF, 0.0, $boundary)); 41 var_dump(randomizer()->getFloat(0.0, NAN, $boundary)); 47 var_dump(randomizer()->getFloat(0.0, INF, $boundary)); 53 var_dump(randomizer()->getFloat(0.0, -INF, $boundary)); 59 var_dump(randomizer()->getFloat(0.0, -0.1, $boundary)); 65 var_dump(randomizer()->getFloat(0.0, 0.0, $boundary)); 88 Random\Randomizer::getFloat(): Argument #1 ($min) must be finite [all …]
|
H A D | getFloat_extreme_range.phpt | 2 Random: Randomizer: getFloat(): Extreme ranges are handled correctly 30 printf("%.17g\n", $r->getFloat($min, $max)); 31 printf("%.17g\n", $r->getFloat($min, $max)); 32 printf("%.17g\n", $r->getFloat($min, $max));
|
H A D | getFloat_opposite_signs.phpt | 2 Random: Randomizer: getFloat(): Opposite signs are handled correctly 34 $float = $r->getFloat($min, $max);
|
H A D | getFloat.phpt | 2 Random: Randomizer: getFloat(): Basic functionality 33 $result = $randomizer->getFloat(-$i, $i, IntervalBoundary::ClosedClosed);
|
H A D | getFloat_equal_steps.phpt | 2 Random: Randomizer: getFloat(): Returned floats have equal distance. 18 $float = $r->getFloat($min, $max, IntervalBoundary::ClosedClosed);
|
/php-src/ext/random/tests/01_functions/ |
H A D | lcg_value_deprecation.phpt | 10 Deprecated: Function lcg_value() is deprecated since 8.4, use \Random\Randomizer::getFloat() instea…
|
/php-src/ext/random/ |
H A D | random.stub.php | 140 …public function getFloat(float $min, float $max, IntervalBoundary $boundary = IntervalBoundary::Cl… function in Random\\Randomizer
|
H A D | random_arginfo.h | 147 ZEND_METHOD(Random_Randomizer, getFloat); 214 ZEND_ME(Random_Randomizer, getFloat, arginfo_class_Random_Randomizer_getFloat, ZEND_ACC_PUBLIC)
|
H A D | randomizer.c | 137 PHP_METHOD(Random_Randomizer, getFloat) in PHP_METHOD() argument
|
Completed in 20 milliseconds