[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-e
Subject:    Re: Fwd: Re: Javascript and konq crash
From:       Harri Porten <porten () froglogic ! com>
Date:       2006-03-25 19:41:22
Message-ID: Pine.LNX.4.64.0603252035170.2331 () pudel ! froglogic ! com
[Download RAW message or body]

On Sat, 25 Mar 2006, Eva Brucherseifer wrote:

>> The dtoa code is really quite intricated.
>> It seem to be called from a single point in kjs, in ustring.
>> Perhaps for testing purposes another conversion method (with sprintf or a
>> stringstream) could be used. If that works, the problem is indeed in dtoa.

The dtoa code was added by Apple as it makes some floating point 
operations work the way they are specified in the standard. It looks like 
it was taken from a rather ancient library though so it's not necessary 
portable to today's hardware. Had to fix something for the Alpha 
architecture already.

It should indeed by safe to just circumvent the calls into the library 
routines and do simple conversions. They regressions should be 
neglectable. Just study older versions of KJS to see how it was done.

Harri.

_______________________________________________
konq-e mailing list
konq-e@kde.org
https://mail.kde.org/mailman/listinfo/konq-e
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic