9front - general discussion about 9front
 help / color / mirror / Atom feed
* /arm64/include/math
@ 2020-06-08  1:42 kokamoto
  2020-06-08 11:05 ` [9front] /arm64/include/math kvik
  0 siblings, 1 reply; 2+ messages in thread
From: kokamoto @ 2020-06-08  1:42 UTC (permalink / raw)
  To: 9front

#define isinf(x) isInf(x)

line should be
#define isinf(x) isInf(x, 0)
?

Kenji



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

* Re: [9front] /arm64/include/math
  2020-06-08  1:42 /arm64/include/math kokamoto
@ 2020-06-08 11:05 ` kvik
  0 siblings, 0 replies; 2+ messages in thread
From: kvik @ 2020-06-08 11:05 UTC (permalink / raw)
  To: 9front

Yes, this is a problem for all but amd64 APE math.h headers.

	; grep -n isinf $arch/include/ape/math.h
	grep: can't open /68000/include/ape/math.h: '/68000/include/ape' does not exist
	/68020/include/ape/math.h:77: #define isinf(x) isInf(x)
	/amd64/include/ape/math.h:77: #define isinf(x) isInf(x, 0)
	/arm/include/ape/math.h:77: #define isinf(x) isInf(x)
	/arm64/include/ape/math.h:77: #define isinf(x) isInf(x)
	/mips/include/ape/math.h:77: #define isinf(x) isInf(x)
	/power/include/ape/math.h:77: #define isinf(x) isInf(x)
	grep: can't open /power64/include/ape/math.h: '/power64/include/ape' does not exist
	/sparc/include/ape/math.h:77: #define isinf(x) isInf(x)
	/sparc64/include/ape/math.h:77: #define isinf(x) isInf(x)
	grep: can't open /spim/include/ape/math.h: '/spim/include/ape' does not exist

Furthermore /$objtype/include/ape/math.h are all nearly identical.
I have a pending patch that combines all of these into a global
/sys/include/ape/math.h and fixes these inconsistencies along the way.

I'll take another look at it today.


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

end of thread, other threads:[~2020-06-08 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08  1:42 /arm64/include/math kokamoto
2020-06-08 11:05 ` [9front] /arm64/include/math kvik

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).