Boost logo

Boost Users :

From: Joel FALCOU (joel.falcou_at_[hidden])
Date: 2008-03-04 17:51:21


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 

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net