shz_randf_range
SHZ_INLINE float shz_randf_range(int* seed, float min, float max) SHZ_NOEXCEPT;Returns a random floating-point number between min and max, using and updating the given seed.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
seed | int * | |
min | float | |
max | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::randf_range - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:258 - Module: Scalar, section "Miscellaneous"