![]() |
SH4ZAM! 0.1.0
Fast math library for the Sega Dreamcast's SH4 CPU
|


Go to the source code of this file.
Data Structures | |
| struct | shz::sincos |
Namespaces | |
| namespace | shz |
Typedefs | |
| using | shz::sincos_t |
Functions | |
| constexpr float | shz::deg_to_rad (float deg) noexcept |
| constexpr float | shz::rad_to_deg (float rad) noexcept |
Hyperbolic Functions | |
Trigonometric functions for hyperbolas | |
| float | shz::sinhf (float x) noexcept |
| float | shz::coshf (float x) noexcept |
| float | shz::tanhf (float x) noexcept |
| float | shz::cschf (float x) noexcept |
| float | shz::sechf (float x) noexcept |
| float | shz::cothf (float x) noexcept |
Inverse Hyperbolic Functions | |
Inverse trigonometric functions for hyperbolas | |
| float | shz::asinhf (float x) noexcept |
| float | shz::acoshf (float x) noexcept |
| float | shz::atanhf (float x) noexcept |
| float | shz::acschf (float x) noexcept |
| float | shz::asechf (float x) noexcept |
| float | shz::acothf (float x) noexcept |
Variables | |
| constexpr float | shz::pi_f |
| constexpr float | shz::pi_f_2 |
| constexpr float | shz::pi_f_4 |
| constexpr float | shz::fsca_rad_factor |
| constexpr float | shz::fsca_deg_factor |
Sine/Cosine pairs | |
Routines operating on pairs of sine and cosine values. | |
| constexpr auto | shz::sincosu16 |
| constexpr auto | shz::sincosf |
| constexpr auto | shz::sincosf_deg |
| constexpr auto | shz::sincos_tanf |
| constexpr auto | shz::sincos_secf |
| constexpr auto | shz::sincos_cscf |
| constexpr auto | shz::sincos_cotf |
One-off Trig Functions | |
Routines for calculating results of single trig functions. | |
| constexpr auto | shz::sinf |
| constexpr auto | shz::sinf_deg |
| constexpr auto | shz::cosf |
| constexpr auto | shz::cosf_deg |
| constexpr auto | shz::tanf |
| constexpr auto | shz::tanf_deg |
| constexpr auto | shz::secf |
| constexpr auto | shz::secf_deg |
| constexpr auto | shz::cscf |
| constexpr auto | shz::cscf_deg |
| constexpr auto | shz::cotf |
| constexpr auto | shz::cotf_deg |
Inverse Trig Functions | |
Routines for calculating results of inverse trig functions. | |
| constexpr auto | shz::atanf_unit |
| constexpr auto | shz::atanf_q1 |
| constexpr auto | shz::atanf |
| constexpr auto | shz::atan2f |
| constexpr auto | shz::asinf |
| constexpr auto | shz::acosf |
| constexpr auto | shz::asecf |
| constexpr auto | shz::acscf |
| constexpr auto | shz::acotf |
C++ trigonometry API.
This file provides an API offering fast versions of trigonometry functions for C++23.
Definition in file shz_trig.hpp.