FloatScale Enumeration

Represents the scaling strategy when generating random floating-point numbers.


Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.2.0
public enum FloatScale


Auto0 The scaling will be chosen automatically based on the provided range.
ForceLinear1 Forces to use linear scaling when generating random numbers.
ForceLogarithmic2 Forces to use logarithmic scaling when generating random numbers. Please that generating random numbers on the logarithmic scale can be significantly slower than on the linear scale, especially when generating Decimal values.

See Also