Represents the scaling strategy when generating random floating-point numbers.
Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-preview.3
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
Auto | 0 | The scaling will be chosen automatically based on the provided range. | |
ForceLinear | 1 | Forces to use linear scaling when generating random numbers. | |
ForceLogarithmic | 2 | 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