Andy Dougherty <[EMAIL PROTECTED]> wrote:

> A quick grep on the perl5 sources for 'negative zero' gets a fair number
> of hits mentioning AIX, Digital Unix, and OpenBSD.  sv.c contains some
> legacy 'FIXNEGATIVEZERO' code as well.

... which seems not to be defined nor mentioned anywhere.

> ... In short, it's probably best to
> assume that some compilers will give us a negative zero sometimes.
> Whether the parrot virtual machine should or should not hide that detail
> is a good question

Its coloring tinderboxen for no good reason. If something really got
wrong its hidden. So IMHO we should either change the test or have a
configure option and convert "-0.0*" to "0".

> ... -- probably equivalent to whether parrot should spell
> infinity "Inf" or "inf" or not care (and similarly for "nan" and "NaN").

Yep.

leo

Reply via email to