KJS::SimpleNumber on 64 bit machines

Harri Porten porten at froglogic.com
Thu Oct 2 01:47:02 CEST 2003


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.



More information about the Khtml-devel mailing list