![]() |
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_complex_t |
Macros | |
| #define | SHZ_CMPLXF(x, y) |
| #define | SHZ_CMPLXF32(x, y) |
| #define | SHZ_I |
Typedefs | |
| typedef shz_complex_t | shz_complex |
Functions | |
| shz_complex_t | shz_cinitf (float real, float imag) SHZ_NOEXCEPT |
| bool | shz_cequalf (shz_complex_t lhs, shz_complex_t rhs) SHZ_NOEXCEPT |
| shz_complex_t | shz_caddf (shz_complex_t lhs, shz_complex_t rhs) SHZ_NOEXCEPT |
| shz_complex_t | shz_csubf (shz_complex_t lhs, shz_complex_t rhs) SHZ_NOEXCEPT |
| shz_complex_t | shz_cmulf (shz_complex_t lhs, shz_complex_t rhs) SHZ_NOEXCEPT |
| shz_complex_t | shz_cdivf (shz_complex_t lhs, shz_complex_t rhs) SHZ_NOEXCEPT |
| float | shz_crealf (shz_complex_t c) SHZ_NOEXCEPT |
| float | shz_cimagf (shz_complex_t c) SHZ_NOEXCEPT |
| float | shz_cabsf (shz_complex_t c) SHZ_NOEXCEPT |
| float | shz_cargf (shz_complex_t c) SHZ_NOEXCEPT |
| shz_complex_t | shz_conjf (shz_complex_t c) SHZ_NOEXCEPT |
| shz_complex_t | shz_csqrtf (shz_complex_t c) SHZ_NOEXCEPT |
| shz_complex_t | shz_cpowf (shz_complex_t base, shz_complex_t exp) SHZ_NOEXCEPT |
| shz_complex_t | shz_clogf (shz_complex_t c) SHZ_NOEXCEPT |
| shz_complex_t | shz_cexpf (shz_complex_t c) SHZ_NOEXCEPT |
| shz_complex_t | shz_clog10f (shz_complex_t c) SHZ_NOEXCEPT |
| shz_complex_t | shz_csinf (shz_complex_t c) SHZ_NOEXCEPT |
| void | shz_fft (shz_complex_t *s, size_t size) SHZ_NOEXCEPT |
Complex number API.
This file contains a collection of routines for working with complex (real + imaginary) numbers. The API is mostly modeled after C99's <complex.h>, although it also supports being used from C++ as well.
Definition in file shz_complex.h.
| #define SHZ_CMPLXF | ( | x, | |
| y ) |
Definition at line 21 of file shz_complex.h.
| #define SHZ_CMPLXF32 | ( | x, | |
| y ) |
Definition at line 22 of file shz_complex.h.
| #define SHZ_I |
Definition at line 23 of file shz_complex.h.
| typedef shz_complex_t shz_complex |
Definition at line 32 of file shz_complex.h.