1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 05:55:06 +00:00
serenity/Userland/Applications/Calculator
Lucas CHOLLET 53eb35caba Calculator: Change internal representation to support perfect division
The purpose of this patch is to support addition, subtraction,
multiplication and division without using conversion to double. To this
end, we use the BigFraction class of LibCrypto. With this solution, we
can store values without any losses and forward rounding as the last
step before displaying.
2022-09-15 14:08:21 +01:00
..
Calculator.cpp Calculator: Change internal representation to support perfect division 2022-09-15 14:08:21 +01:00
Calculator.h Calculator: Change internal representation to support perfect division 2022-09-15 14:08:21 +01:00
CalculatorWidget.cpp Calculator: Change internal representation to support perfect division 2022-09-15 14:08:21 +01:00
CalculatorWidget.h Calculator: Change internal representation to support perfect division 2022-09-15 14:08:21 +01:00
CalculatorWindow.gml Calculator: Set button colors from system palette 2022-07-17 08:44:31 +01:00
CMakeLists.txt Calculator: Change internal representation to support perfect division 2022-09-15 14:08:21 +01:00
Keypad.cpp Calculator: Change internal representation to support perfect division 2022-09-15 14:08:21 +01:00
Keypad.h Calculator: Change internal representation to support perfect division 2022-09-15 14:08:21 +01:00
main.cpp Calculator: Change internal representation to support perfect division 2022-09-15 14:08:21 +01:00