
--- Daryle Walker wrote:
Is BOOST_MPL_MATH_RATIONAL_PART_OF_RATIONAL a re-statement of the rational number itself?
No.
Or is it supposed to be the remainder after taking out the "whole" part?
Yes.
If the latter, then the name should have "FRACTIONAL" replacing the first "RATIONAL", since "fractional" and not "rational" better describes a left-over bit.
(Rational numbers are a generalization of fractions that include values with absolute values greater
For consistency this part of the macro name is lexically the same as the template name whose specialization the macro creates, i.e. rational_part. than
one, i.e. a numerator larger than its denominator [in absolute value].)
I have no qualms about changing the name, as long as all interested parties agree. Andy Little? Cromwell D. Enage __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com