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



Reply via email to