On Thu, 11 Aug 2005 12:51:57 +0100, Dave Mitchell <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 11, 2005 at 03:57:27AM -0700, Yitzchak Scott-Thoennes wrote: > > Even worse: > > > > $ perl -we'$x = -.0; scalar(1.1 * $x); print $x' > > 0 > > > 'scuse my ignorance, but why is it important to preserve the sign on > floating zeroes? ANSI C90 says so IIRC -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using Perl 5.6.2, 5.8.0, 5.8.5, & 5.9.2 on HP-UX 10.20, 11.00 & 11.11, AIX 4.3 & 5.2, SuSE 9.2 & 9.3, and Cygwin. http://www.cmve.net/~merijn Smoking perl: http://www.test-smoke.org, perl QA: http://qa.perl.org reports to: [EMAIL PROTECTED], perl-qa@perl.org