Handles error conditions in floating point computations without the overhead of Maybe