[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: real numbers and integer-expt.
From: |
Rob Browning |
Subject: |
Re: real numbers and integer-expt. |
Date: |
Wed, 13 Mar 2002 15:23:14 -0600 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) |
Marius Vollmer <address@hidden> writes:
> Yes. Floats can be integers, too. However, there's a bug
> nevertheless: floats can represent integers that don't fit into 32
> bit ints. Also, complex numbers can be ints as well. Also also,
> the docstring talks about non-negative powers, but the code handles
> negative ones as well.
OK, so I'll fix that. What would be the right way (c-side) to handle
a negative arg? i.e. what would be the right error func? (obviously
not WTA).
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD