develooper Front page | perl.perl5.porters | Postings from September 2014

Re: [perl #122591] t/op/sprintf2 fails (hex floats?) (FreeBSD 10.0)

Thread Previous
From:
sisyphus1
Date:
September 23, 2014 00:27
Subject:
Re: [perl #122591] t/op/sprintf2 fails (hex floats?) (FreeBSD 10.0)
Message ID:
0740B3C440F04479A1B55686EF186E41@OwnerPC311012
-----Original Message----- 
From: James E Keenan via RT
Sent: Tuesday, September 23, 2014 8:49 AM
To: OtherRecipients of perl Ticket #122591:
Cc: perl5-porters@perl.org
Subject: [perl #122591] t/op/sprintf2 fails (hex floats?) (FreeBSD 10.0)

> On Thu Aug 21 13:10:14 2014, jhi wrote:
>> On closer look, this
>>
>> #      got "0x1.5bf0a8b14576ap+1"
>> # expected "0x1.5bf0a8b145769p+1"

> Can we get confirmation that Jarkko's fix resolved the problem on the OS 
> in question?

Jarkko's fix (judging by the comments in the code) seems aimed at hiding 
off-by-one discrepancies.

Are the failures on FreeBSD 10.0 off by one ? .... or off by more than one ?
On Linux and/or Windows I've seen discrepancies of 2 or more ULP's, though 
the "problem" values vary from system to system.

Cheers,
Rob



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