Floating point exception in strtod()
Dave Nadler
drn@nadler.com
Mon Apr 9 12:18:00 GMT 2018
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? I'm worrying about very
resource-constrained systems (like the one where I had to use strtod
instead of sscanf to fit into ROM)...
Thanks as always for your newlib work,
Best Regards, Dave
--
Dave Nadler, USA East Coast voice (978) 263-0097, drn@nadler.com, Skype
Dave.Nadler1
More information about the Newlib
mailing list