From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Sickel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Date: Mon, 11 Feb 2013 15:46:36 -0600 To: 9fans@9fans.net Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: [9fans] APE isinf() Topicbox-Message-UUID: 172156a4-ead8-11e9-9d60-3106f5b1d025 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