develooper Front page | perl.vmsperl | Postings from June 2002

Re: [PATCH] pp.c:pp_pow() -- quit when you're done

Thread Previous
From:
Craig A. Berry
Date:
June 15, 2002 21:43
Subject:
Re: [PATCH] pp.c:pp_pow() -- quit when you're done
Message ID:
a05111b16b931c6729df2@[172.16.52.1]
At 7:32 AM +0300 6/16/02, Jarkko Hietaniemi wrote:
>Thanks, applied.  At least in UNICOS this shouldn't be necessary,
>though, the Friday snapshot worked 100%.  May affect VOS.

The reason it caused a test failure with D_FLOAT is that the maximum
value is 1.7e38, so squaring 1e20 gets you in trouble.  If you were
squaring 1e154 or so (which the test suite apparently does not
currently do) you would see the same thing with other floating point
formats that have a range similar to IEEE but without the
denormalization capability.
-- 
________________________________________
Craig A. Berry
mailto:craigberry@mac.com

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About