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.



Boost list run by bdawes at, gregod at, cpdaniel at, john at