Re: [Rd] Very small numbers in hexadecimal notation parsed as zero

2016-12-24 Thread Florent Angly
Hi Martin, Thanks for the Bugzilla account. I have filed this bug under number 17199. Cheers, Florent On 21 December 2016 at 12:28, Martin Maechler wrote: >> Florent Angly >> on Tue, 20 Dec 2016 13:26:36 +0100 writes: > > > Hi

Re: [Rd] Very small numbers in hexadecimal notation parsed as zero

2016-12-21 Thread Martin Maechler
> Florent Angly > on Tue, 20 Dec 2016 13:26:36 +0100 writes: > Hi all, > I have noticed incorrect parsing of very small hexadecimal numbers > like "0x1.dp-987". Such a hexadecimal representation can > can be produced by sprintf()

[Rd] Very small numbers in hexadecimal notation parsed as zero

2016-12-20 Thread Florent Angly
Hi all, I have noticed incorrect parsing of very small hexadecimal numbers like "0x1.dp-987". Such a hexadecimal representation can can be produced by sprintf() using the %a flag. The return value is incorrectly reported as 0 when coercing these numbers to double using