* [9fans] APE isinf()
@ 2013-02-11 21:46 Jeff Sickel
2013-02-11 21:50 ` erik quanstrom
2013-02-11 22:40 ` Federico G. Benavento
0 siblings, 2 replies; 3+ messages in thread
From: Jeff Sickel @ 2013-02-11 21:46 UTC (permalink / raw)
To: 9fans
Here's a little issue I found w/ the new Python 2.7.3 port:
acme# cd /n/sources/plan9/
acme# grep isinf */include/ape/math.h
arm/include/ape/math.h:#define isinf(x) isInf(x)
mips/include/ape/math.h:#define isinf(x) isInf(x)
power/include/ape/math.h:#define isinf(x) isInf(x)
sparc/include/ape/math.h:#define isinf(x) isInf(x)
isinf() is missing from 386 & amd64 APE headers.
Of course, having only one argument to isInf(x) will give
you the following if you actually try to use it:
/usr/jas/src/cmd/cpython/Plan9/../Python/bltinmodule.c:2173[stdin:16039] not enough function arguments: isInf
So it's probably safe to just have
#define isinf(x) isInf(x,0)
in /*/include/ape/math.h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-11 22:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11 21:46 [9fans] APE isinf() Jeff Sickel
2013-02-11 21:50 ` erik quanstrom
2013-02-11 22:40 ` Federico G. Benavento
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).