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

List:       kde-release-team
Subject:    Re: KCalc's Future
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2007-12-08 22:12:16
Message-ID: 475B16C0.707 () gmx ! de
[Download RAW message or body]

Albert Astals Cid schrieb:
> A Dissabte 08 Desembre 2007, Christian Ehrlicher va escriure:
>> Albert Astals Cid schrieb:
>>> A Dissabte 08 Desembre 2007, Richard Moore va escriure:
>>>> On 12/8/07, Albert Astals Cid <aacid@kde.org> wrote:
>>>>> So you mean typing 3 + 3 Enter and getting a 0 is the expected
>>>>> behaviour?
>>>> As I said in the previous discussion this works fine here. It only
>>>> seems to be an issue for people on 64 bit machines, and I suspect not
>>>> even all of those. If people would get together info about things like
>>>> which version of gmp they're using, which compiler etc. then maybe we
>>>> could make some progress on this issue.
>>> I know it's weird, actually i'm using exactly the same configuration
>>> (ubuntu version, installed libraries and cpu model) than John Tapsell and
>>> it works for him.
>>>
>>> I've already volunteered givin remove access to my machine to David
>>> Johnson so he can try fixing the bug but he said it was not necessary.
>>>
>>> For the record:
>>> gmp version: 4.2.1+dfsg-5ubuntu4
>>> g++ version: g++-4.1 (GCC) 4.1.3 20070929 (prerelease) (Ubuntu
>>> 4.1.2-16ubuntu2)
>>> machine: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
>> OpenSuSE 10.3 64bit, gcc 4.2.1
>>
>> The attached patch fixes the problem (better: avoids the problem).
>> After this 3+3 is 6 again on my system. It was ever, but displaying did
>> not work correct.
> 
> Works here :-)
> 
fine.
Now we need someone from gmp as the problem lies here:

_knumfloat::_knumfloat(QString const & num)
{
  mpf_init(_mpf);
  mpf_set_str(_mpf, num.toAscii(), 10);
}

I already tried to pass "10,0" without success. Don't know if "nan" and
"inf" is correctly interpreted.


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

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