Skip to content

shz_sqrtf

Markdown
SHZ_INLINE float shz_sqrtf(float x) SHZ_NOEXCEPT;

Returns the fast approximate square root of the given value, x, safely returning 0.0f is x == 0.0f.

NameTypeDescription
xfloat

float

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