Skip to content

Handle FPU exceptions better

Raymond Toy requested to merge rtoy-15-handle-fpu-exceptions into master

Fix #15 (closed)

Handle FPU exceptions better in sigfpe-handler. Linux now passes all of the tests, including the inexact tests.

We can correctly print out the operands (if available) when we receive an inexact exception.

The floating point modes are preserved as much as possible when we throw from an arithmetic-error.

Merge request reports