Skip to content

shz_atan2f

Markdown
SHZ_INLINE float shz_atan2f(float y, float x) SHZ_NOEXCEPT;

Computes arctangent of y / x, using the signs of arguments to determine correct quadtrant. Equivalent to C's atan2f().

NameTypeDescription
yfloat
xfloat

float

  • C++ equivalent: shz::atan2f
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_trig.h:157
  • Module: Trigonometry, section "Inverse Functions"