Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-03-26 23:50:54


AMDG

I noticed the equals function in math.hpp.
I'm not sure about it. If a and b are both greater than 1 than if their
difference
is non-zero, it cannot be less than epsilon (which is defined as "the
difference
between 1 and the least value greater than 1 that is representable"
18.2.1.2)
Thus, the test is equivalent to a == b.

Also, the include guard is _GEOMETRY_MATH_HPP
"Each name that [...] begins with an underscore followed by an uppercase
letter (2.11) is reserved to the implementation for any use." (17.4.3.1.2)

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk