|
Boost : |
From: Cromwell Enage (sponage_at_[hidden])
Date: 2005-10-31 08:21:34
--- 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.
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.
> (Rational numbers are a generalization of fractions
> that include values with absolute values greater
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk