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

List:       kde-core-devel
Subject:    Re: New repo in kdereview: kalk
From:       Milian Wolff <mail () milianw ! de>
Date:       2021-02-19 14:35:22
Message-ID: 2256355.bz8yCL85Na () milian-workstation
[Download RAW message or body]


On Donnerstag, 18. Februar 2021 23:55:32 CET Albert Astals Cid wrote:
> El dijous, 18 de febrer de 2021, a les 17:05:22 CET, hanyoung va escriure:
> > Hello everyone!
> > 
> > I want to move kalk to kdereview.
> > It's the calculator for Plasma Mobile (it also works great on desktop).
> > 
> > https://invent.kde.org/plasma-mobile/kalk
> > 
> > It's not a QML version of kcalc, the math engine is written with
> > bison/flex.
> I don't think you should roll out your own math engine.
> 
> Example, if I press
> 65 / 9 =
> * 9 =
> it tells me the result is 63.
> 
> Compare to kcalc that properly tells me 65.
> 
> You can't really use C/C++ floating point to do actual math, it's not very
> good for that, you need to use "infinite" precision numbers like kcalc
> does.
> 
> Please reconsider your decision.

https://blog.acolyer.org/2020/10/02/toward-an-api-for-the-real-numbers/

-- 
Milian Wolff
mail@milianw.de
http://milianw.de
["signature.asc" (application/pgp-signature)]

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

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