Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2004-09-03 19:12:17


"Andy Little" <andy_at_[hidden]> wrote

Regarding rational_c in the \libs\mpl\doc\ref\Reference\rational_c.html

IMO the result_type of the value() function could be an the integer_type,
in the case where the denominator is 1.
Making it a double in all cases, reduce opportunities for the compiler to
optimise it after the value has ben evaluated.

regards
Andy Little


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