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: Fwd: Floating point exception in strtod()


Am 08.04.2018 um 20:40 schrieb Ken Brown:

Presumably the authors of the code knew that aadj could be this big, because there's a test for aadj <= 0x7fffffff in line 1123.

But the code never reaches that line, because the condition in line 1122 doesn't hold. From there it goes to lines 1131, 1132, 1182, 1187, 1189 and BOOM.


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