I have some code that computes (a)sin/(a)cos values which are expected to be very close to 0, but when I say
Which is: 9.9920072e-16
To be equal to: 0
Floating-Point Macros said that
ASSERT_DOUBLE_EQ will verify
doublevalues are almost equal
By "almost equal", we mean the two values are within 4 ULP's from each other.
with ULP is stand for Unit in the last places