Skip to content

shz_fabsf

Markdown
SHZ_INLINE float shz_fabsf(float x) SHZ_NOEXCEPT;

Replacement for the <math.h> routine, fabsf().

NameTypeDescription
xfloat

float

Returns the absolute value of x.

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