On Mon, 12 Jul 2004, Leopold Toetsch wrote:

> 1) I've serious troubles with the precision of string_to_num. The test
> bewow fails, 1.e100 isn't really 10**100.
> 2) I've modified string_to_num to just use atof() which works.

I so wish this were the case. Unfortunately it's not. atof's behaviour
isn't standardized across platforms--using it means that source will
behave differently depending on where it's compiled, which is bad.

I thought we'd grabbed perl 5's string-to-num code. If not, we should. The
licenses match, and we know it works.

> 3) This makes 2 tests fail (pmc_22, pmc_32). *But* these seem both to be
> bogus: I can't imagine that e.g. "Z1" should evaluate to int(1).

I can't think of a reason Z1 should be 1 -- it ought to be zero.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to