Doug Henderson writes:
> I modified your program to display the actual hex value of the a, b,
> and c variables. The b and c variables have different bit patterns. It
> appears that the %a format conversion is (correctly) detecting ±inf
> and NaN according to IEEE 754, and ignoring the value of
On Mar 25 18:16, Doug Henderson wrote:
> On 25 March 2016 at 02:59, Achim Gratz wrote:
> >
> > Achim Gratz writes:
> > > Achim Gratz writes:
> > >> Long story short, they seem to report a finite value on at least some
> > >> NaN constructs and then the %a format for the Perl
On 25 March 2016 at 02:59, Achim Gratz wrote:
>
> Achim Gratz writes:
> > Achim Gratz writes:
> >> Long story short, they seem to report a finite value on at least some
> >> NaN constructs and then the %a format for the Perl sprintf outputs those
> >> bits as a hex FP number
Achim Gratz writes:
> Achim Gratz writes:
>> Long story short, they seem to report a finite value on at least some
>> NaN constructs and then the %a format for the Perl sprintf outputs those
>> bits as a hex FP number rather than just printing "NaN". On 64bit the
>> culprit is actually finitel,