shz_fractf
SHZ_INLINE float shz_fractf(float x) SHZ_NOEXCEPT;Returns the fractional part of x, equivalent to GLSL fract().
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- 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"