From: Jeff Sickel <jas@corpus-callosum.com>
To: 9fans@9fans.net
Subject: [9fans] APE isinf()
Date: Mon, 11 Feb 2013 15:46:36 -0600 [thread overview]
Message-ID: <A0770F67-0337-4441-B7B8-D71B42DABF92@corpus-callosum.com> (raw)
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
next reply other threads:[~2013-02-11 21:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-11 21:46 Jeff Sickel [this message]
2013-02-11 21:50 ` erik quanstrom
2013-02-11 22:40 ` Federico G. Benavento
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A0770F67-0337-4441-B7B8-D71B42DABF92@corpus-callosum.com \
--to=jas@corpus-callosum.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).