This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Floating point exception in strtod()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]