
16 Mar
2006
16 Mar
'06
6:15 p.m.
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