Floating point exception in strtod()
Corinna Vinschen
vinschen@redhat.com
Mon Apr 9 12:48:00 GMT 2018
On Apr 9 08:18, Dave Nadler wrote:
> On 4/9/2018 5:58 AM, Corinna Vinschen wrote:
> > I applied a fix to newlib's strtod, to always use 64 bit ints in this
> > place. This fixes the problem and no exception is raised.
>
> I'm probably showing my ignorance here, but doesn't this risk dragging in
> 64-bit support where not otherwise needed?
Check the patch. It uses 64 bit int only if the target has 64 bit double.
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commitdiff;h=27652b608db73eec39208ec3078d7f3a06c3286d
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180409/de4956c1/attachment.sig>
More information about the Newlib
mailing list