|
Hermes
|
Trigonometric functions. More...
#include <numeric.h>
Static Public Member Functions | |
| static HERMES_DEVICE_CALLABLE constexpr real_t | radians2degrees (real_t a) |
| Converts radians to degrees. | |
| static HERMES_DEVICE_CALLABLE constexpr real_t | degrees2radians (real_t a) |
| Converts degrees to radians. | |
| static HERMES_DEVICE_CALLABLE f32 | safe_acos (f32 x) |
| Computes acos with clamped input. | |
| static HERMES_DEVICE_CALLABLE f32 | safe_asin (f32 x) |
| Computes asin with clamped input. | |
Trigonometric functions.
|
inlinestaticconstexpr |
Converts degrees to radians.
| a |
|
inlinestaticconstexpr |
Converts radians to degrees.
| a |
|
inlinestatic |
Computes acos with clamped input.
| x |
|
inlinestatic |
Computes asin with clamped input.
| x |