Skip to content

shz_randf

Markdown
SHZ_INLINE float shz_randf(int* seed) SHZ_NOEXCEPT;

Returns a random floating-point number between 0.0f and 1.0f, using and updating the given seed.

NameTypeDescription
seedint *

float

  • C++ equivalent: shz::randf
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_scalar.h:255
  • Module: Scalar, section "Miscellaneous"