Skip to content

shz_expf

Markdown
SHZ_INLINE float shz_expf(float p) SHZ_NOEXCEPT;

Fast approximation for C's expf().

NameTypeDescription
pfloat

float

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

shz_pow2f, shz_expm1f