Skip to content

shz_pow10f

Markdown
SHZ_INLINE float shz_pow10f(float x) SHZ_NOEXCEPT;

Fast approximation of POSIX's pow10f().

NameTypeDescription
xfloat

float

  • Measured maximum relative error: 3.9% for x in [-37.0f, 38.0f].
  • C++ equivalent: shz::pow10f
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_scalar.h:445
  • Module: Scalar, section "Transcendental"

shz_pow2f, shz_expf