sebcrozet/nalgebra — pull request #61 by mikedilger (2014-12-31 21:18:48+00:00)
Title: ApproxEq trait enhanced with ULPs method of specifying closeness:

See issue #60.
Background reading: https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/

approx_eq_ulps() allows specification of epsilon as an integer number
of Units in the Last Place (ULPs) difference between the two floating
point values

default approx_ulps() is set to 8.

approx_eq() function continues to use epsilon method, although I
recommend further commits and a migration towards the ULPs method.