|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-03-16 13:15:54
Don't you need to change in all places?
// Avoid overflow.
- if( f2 < static_cast<FPT>(1) && f1 > f2 *
std::numeric_limits<FPT>::max() )
+ if( f2 < static_cast<FPT>(1) && f1 > f2 *
(std::numeric_limits<FPT>::max)() )
return std::numeric_limits<FPT>::max();
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk