develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH perl@11683] IEEE float tweak for VMS

Thread Previous
From:
Jarkko Hietaniemi
Date:
August 16, 2001 21:26
Subject:
Re: [PATCH perl@11683] IEEE float tweak for VMS
Message ID:
20010816232605.Y10151@chaos.wustl.edu
On Thu, Aug 16, 2001 at 10:46:15PM -0500, Craig A. Berry wrote:
> In configure.com, the new IEEE default was a bit ahead of the configuration 
> question for Alpha.  In numeric.c, catching potential overflow has been 
> simplified and better commented.  I don't know of any reason the compiler 
> version would be relevant, so I've removed that from the ifdef.  The maximum 
> exponent for single precision would be correct for the D_FLOAT double 
> format, but not for G_FLOAT; I've replaced it with NV_MAX_10_EXP, which will 
> reference DBL_MAX_10_EXP, which will be defined appropriately regardless of 
> format in float.h.  The numeric tests have no complaints after this with a 
> non-IEEE build on Alpha.

Thanks, applied.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

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