From 0e1f4288ee9cfa4cae8ea7c24707b61a8535953c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 2 Jan 2021 05:47:31 +0100 Subject: [PATCH] ape: add missing isnan() and isinf() macros for 386 (thanks Jonas) --- 386/include/ape/math.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/386/include/ape/math.h b/386/include/ape/math.h index a9cd9dfa5..3bd3daade 100644 --- a/386/include/ape/math.h +++ b/386/include/ape/math.h @@ -73,4 +73,7 @@ extern double yn(int, double); } #endif +#define isnan(x) isNaN(x) +#define isinf(x) isInf(x, 0) + #endif /* __MATH */