Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 1999-12-17 17:14:38


Paul Moore writes:
> abs(r) { return rational((num < 0 ? -num : num), den); }

What you've got now is probably the best bet until these
compilers get fixed, but please don't change to the above def.
The "< 0" has all kinds of hidden assumptions underneath it.

Cheers,

Jeremy


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