Skip to content

shz_stepf

Markdown
SHZ_INLINE float shz_stepf(float x, float edge) SHZ_NOEXCEPT;

returns 0.0f if x < edge, otherwise 1.0f

NameTypeDescription
xfloat
edgefloat

float

  • 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"