Big progress🎉!! I’ve fully fixed the layout issues and added scientific buttons. Everything is now working perfectly, and the calculator looks and behaves as intended. Next, I’ll work on implementing the logic for these new buttons.
I added screen rotation to my calculator, which switches it into a wider layout similar to the iOS calculator in landscape mode.
In this mode, I’m currently working on adding scientific buttons and designing them to provide more advanced math functionality (like trigonometric operations and powers).
This feature is still a work in progress, but the core layout and rotation logic are already implemented.
(More time I wasted on trying to add another functionality which doesn’t work now :( )
Log in to leave a comment
Recently, I fixed the “bug” which is not completely a bug, but rather an IEEE-754 behavior of floating-point arithmetic. For example, when you write 9.3 - 9.1, it equals “0.200000000000001”.
Now I checked some combinations, and I don’t see problems.
Log in to leave a comment