4 Mar
2008
4 Mar
'08
10:51 p.m.
Matt Gruenke a écrit :
Again, sorry to follow a tangent, but another floating point utility I've found useful is an epsilon function. Unlike std::numeric_limits<>::epsilon(), it takes an argument. It also returns 1, for integral types (this is USEFUL - why doesn't the standard library's?!?).
I second matt on this point. The epsilon<T>(x) function is pretty useful and is definitevly lacking from sandard library. -- Joel FALCOU Research Engineer @ Institut d'Electronique Fondamentale Université PARIS SUD XI France