shz_atan2f
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().
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
y | float | |
x | float |
Returns
Section titled “Returns”float
Availability
Section titled “Availability”- 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"