IRandom Generator.Next Single Method
Generates the next single-precision floating-point number.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
A Single value in the range [0.0, 1.0).
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
float NextSingle()Return Value
SingleA Single value in the range [0.0, 1.0).
Remarks
This method advances the generator state by one unit appropriate to the underlying engine. For 32-bit engines, this typically composes two 32-bit words in little-endian order.