Skip to content

shz_pow2f

Markdown
SHZ_INLINE float shz_pow2f(float p) SHZ_NOEXCEPT;

Fast approximation for raising 2 to a floating-point power.

NameTypeDescription
pfloat

float

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