New repo in kdereview: kalk

Milian Wolff mail at milianw.de
Fri Feb 19 14:35:22 GMT 2021


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 at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20210219/5e484d50/attachment.sig>


More information about the kde-core-devel mailing list