Home
last modified time | relevance | path

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

/php-src/ext/random/tests/03_randomizer/methods/
H A DgetFloat_error.phpt2 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 DgetFloat_extreme_range.phpt2 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 DgetFloat_opposite_signs.phpt2 Random: Randomizer: getFloat(): Opposite signs are handled correctly
34 $float = $r->getFloat($min, $max);
H A DgetFloat.phpt2 Random: Randomizer: getFloat(): Basic functionality
33 $result = $randomizer->getFloat(-$i, $i, IntervalBoundary::ClosedClosed);
H A DgetFloat_equal_steps.phpt2 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 Dlcg_value_deprecation.phpt10 Deprecated: Function lcg_value() is deprecated since 8.4, use \Random\Randomizer::getFloat() instea…
/php-src/ext/random/
H A Drandom.stub.php140 …public function getFloat(float $min, float $max, IntervalBoundary $boundary = IntervalBoundary::Cl… function in Random\\Randomizer
H A Drandom_arginfo.h147 ZEND_METHOD(Random_Randomizer, getFloat);
214 ZEND_ME(Random_Randomizer, getFloat, arginfo_class_Random_Randomizer_getFloat, ZEND_ACC_PUBLIC)
H A Drandomizer.c137 PHP_METHOD(Random_Randomizer, getFloat) in PHP_METHOD() argument

Completed in 22 milliseconds