Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Pchp
Library
PhpMath
lcg_value
Pchp.Library.PhpMath.lcg_value C# (CSharp) Method
PhpMath Class Documentation
Mostrar archivo
Open project: iolevel/peachpie
lcg_value()
public
static
method
Generates a pseudo-random number using linear congruential generator in the range of (0,1).
This method uses the Framwork
rand()
generator which may or may not be the same generator as the PHP one (L(CG(2^31 - 85),CG(2^31 - 249))).
public
static
lcg_value
( ) :
double
return
double
public static double lcg_value() { return Generator.NextDouble(); }
PhpMath
AbsolutizeRange
BaseToDouble
ConvertToLong
DoubleToBase
FindExtreme
GetExtreme
Power10Value
Random01
RoundInternal
_Log10Abs
abs
acos
acosh
asin
asinh
atan
atan2
atanh
base_convert
bindec
ceil
cos
cosh
decbin
dechex
decoct
deg2rad
exp
expm1
floor
fmod
getrandmax
hexdec
hypot
is_finite
is_infinite
is_nan
lcg_value
log
log10
log1p
max
min
mt_getrandmax
mt_rand
mt_srand
octdec
pi
pow
rad2deg
rand
round
sin
sinh
sqrt
srand
tan
tanh
uniqid