Closed GoogleCodeExporter closed 9 years ago
Original comment by Rotter.M...@gmail.com
on 4 Feb 2013 at 1:30
Original comment by Rotter.M...@gmail.com
on 4 Feb 2013 at 1:37
Overflows will be fighted on per-operator/function basis.
Started with safe factorial postfix operator.
Original comment by Rotter.M...@gmail.com
on 4 Feb 2013 at 7:29
Thinking about something similar to this:
http://stackoverflow.com/questions/199333/best-way-to-detect-integer-overflow-in
-c-c
Original comment by Rotter.M...@gmail.com
on 5 Feb 2013 at 7:43
added initial overflow detection for "<<".
Original comment by Rotter.M...@gmail.com
on 5 Feb 2013 at 6:29
somewhat related: I changed the code to allow passing of ecDOMAIN_ERROR and
ecOVERFLOW without converting it to ecEVAL.
Original comment by ib...@gmx.info
on 5 Feb 2013 at 10:55
There is no real problem with overflows in general. IEEE-754 will properly
translate overflows to nan respectively +/-inf. For instance: 10^1234 will
yield +inf which is exactly what i would expect. Similar results for
1/(insanely small value). The only issue i found so far is that muparserx does
not interpret insanely high values like "1e1234" properly. This should be fixed
though but apart from this ther is no problem with relying on the mechanism
provided by IEEE-754.
Original comment by ib...@gmx.info
on 23 Feb 2013 at 10:26
The only remaining issue (incorrect parsing of "1e1234" or "1e-1234") are
resolved now.
Original comment by ib...@gmx.info
on 8 Jul 2013 at 9:37
Original issue reported on code.google.com by
Rotter.M...@gmail.com
on 31 Jan 2013 at 6:43