KJS::SimpleNumber on 64 bit machines

Maciej Stachowiak mjs at apple.com
Wed Oct 1 16:55:25 CEST 2003


On Oct 1, 2003, at 3:47 PM, Harri Porten wrote:

> 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 ...

Yeah, that should also be a long. Did I mention that my patch was 
totally untested? :-)

  - Maciej



More information about the Khtml-devel mailing list