diff options
| author | robojumper <robojumper@gmail.com> | 2025-05-30 22:21:49 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-05-31 21:21:12 +0200 |
| commit | 83456a9cd8a15b6c27d29f09c72ad1f09bc2ed60 (patch) | |
| tree | 5cf9528a037062eb3b1555c8869d2cf37d80612f /src/PowerPC_EABI_Support | |
| parent | 77e17d4c1fb7439914889076b21176242301e7ef (diff) | |
start matching some d/snd things
Diffstat (limited to 'src/PowerPC_EABI_Support')
| -rw-r--r-- | src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath b/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath index d6685a2a..acb717c7 100644 --- a/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath +++ b/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/cmath @@ -66,5 +66,12 @@ inline float sqrtf(float x) { } // namespace std +#define _HUGE_ENUF 1e+300 +#define INFINITY ((float)(_HUGE_ENUF * _HUGE_ENUF)) +#define HUGE_VAL ((double)INFINITY) +#define HUGE_VALL ((long double)INFINITY) + +#define DOUBLE_INF HUGE_VAL + #endif #endif |
