Skip to content

shz_fractf

Markdown
SHZ_INLINE float shz_fractf(float x) SHZ_NOEXCEPT;

Returns the fractional part of x, equivalent to GLSL fract().

NameTypeDescription
xfloat

float

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