shithub: npe

Download patch

ref: ba18316f3785076989db44a6ac2eb96ef623cf09
parent: 3d9a5ff9739a037bd65d0a1be7172081cbaa7fab
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Jun 20 07:22:47 EDT 2021

fixup

--- /dev/null
+++ b/libnpe/isnormal.c
@@ -1,0 +1,8 @@
+#include <math.h>
+#include "_npe.h"
+
+int
+isnormal(double d)
+{
+	return d == 0 || isNaN(d) || isInf(d, 0);
+}