9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Missing insnan() in /386/include/ape/math.h?
@ 2021-01-01 21:34 Jonas Amoson
  2021-01-02  2:39 ` Ori Bernstein
  0 siblings, 1 reply; 3+ messages in thread
From: Jonas Amoson @ 2021-01-01 21:34 UTC (permalink / raw)
  To: 9front

Hi!
I looks (to me) like ape/math.h for 386 is missing the following two lines:

#define isnan(x) isNaN(x)
#define isinf(x) isInf(x, 0)

They are present in
/{68020|arm|arm64|power|sparc|sparc64|amd64}/include/ape/math.h. It
even looks like the lines are present for 386 in the stock Bell Lab's
distro. Any known reason for this irregularity? isnan() is used by
Netsurf's SVG-library.

/Jonas A

--- orig_math.h Sat Oct  5 02:33:06 2019
+++ math.h Fri Jan  1 01:30:47 2021
@@ -73,4 +73,7 @@
 }
 #endif

+#define isnan(x) isNaN(x)
+#define isinf(x) isInf(x, 0)
+
 #endif /* __MATH */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-02  5:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-01 21:34 [9front] Missing insnan() in /386/include/ape/math.h? Jonas Amoson
2021-01-02  2:39 ` Ori Bernstein
2021-01-02  5:45   ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).