shz_stepf
SHZ_INLINE float shz_stepf(float x, float edge) SHZ_NOEXCEPT;returns 0.0f if x < edge, otherwise 1.0f
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float | |
edge | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- C++ equivalent:
shz::stepf - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:261 - Module: Scalar, section "Miscellaneous"