Boost logo

Boost :

From: Joel Eidsath (jeidsath_at_[hidden])
Date: 2005-09-14 08:06:24


Andras Erdei wrote:
<snip>

Your comparison wasn't quite right in places, but I'll skip that for
now. What is important is what happens when you try to implement sqrt
for boost::rational numbers. Or sin. Or log. Or a host of other
functions. For example, what sort of answer would you get for sin(60
degrees) * sqrt(3) / 3? (The exact answer is 1/2.)

Joel Eidsath


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