On Wed, 1 Oct 2003, Maciej Stachowiak wrote:
> Darin pointed out that value() should be returning a long (an oversight
> on my part).
How about this int then ?
> > static inline bool fits(double d) { return d <= max && d >= min && d
> > == (double)(int)d; }
Not that tested those ranges ...
Harri.