ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #12154
Re: Wi-Fi on BQ switch doesn't work
I filled the bug report here:
https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1445152
Dnia 16 kwietnia 2015 19:50 Matthias Apitz <guru@xxxxxxxxxxx> napisał(a):
El día Thursday, April 16, 2015 a las 06:04:00PM +0200, Antek Kantek escribió:
> Another thing I noticed by accident is that if you compute simple expression like this
> 10*0,2+12*0,4+14*0,25+16*0,15
> in calc app you get as a result
> 12,700000000000001
> I understand that computing on floats is tricky, so I am not sure if you consider the above as a bug or feature. If you think that I should report this as a bug let me know.
> Antek
Hi,
Any normal 'bc' on FreeBSD and Linux gives exactly:
$ echo '10*0.2+12*0.4+14*0.25+16*0.15' | bc
12.70
matthias
References