shithub: riscv

Download patch

ref: 0e1f4288ee9cfa4cae8ea7c24707b61a8535953c
parent: 5991e01ed7537f1f105355e1405ea75de33971f2
author: cinap_lenrek <[email protected]>
date: Sat Jan 2 00:47:31 EST 2021

ape: add missing isnan() and isinf() macros for 386 (thanks Jonas)

--- a/386/include/ape/math.h
+++ b/386/include/ape/math.h
@@ -73,4 +73,7 @@
 }
 #endif
 
+#define isnan(x) isNaN(x)
+#define isinf(x) isInf(x, 0)
+
 #endif /* __MATH */