1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:57:47 +00:00
serenity/Userland/Applications/Calculator
Max Wipfli 7b53ca5309 Calculator: Use Checked to ensure entered values do not overflow
This replaces the types of m_int_value and m_frac_value with
Checked<u64> which makes it possible to check if the value overflowed
when entering a digit. If that happens, the digit will just be ignored.

This fixes #1263.
2021-05-23 23:18:54 +01:00
..
Calculator.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Calculator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CalculatorWidget.cpp Calculator: Handle keydown events correctly with all keyboard layouts 2021-05-23 23:18:54 +01:00
CalculatorWidget.h Everywhere: Add missing comma between copyright year and name 2021-04-29 00:59:26 +02:00
CalculatorWindow.gml Calculator: Add a separator line between the menu and the main UI 2021-04-10 16:08:14 +02:00
CMakeLists.txt Applications: Move to Userland/Applications/ 2021-01-12 12:05:23 +01:00
Keypad.cpp Calculator: Use Checked to ensure entered values do not overflow 2021-05-23 23:18:54 +01:00
Keypad.h Calculator: Use Checked to ensure entered values do not overflow 2021-05-23 23:18:54 +01:00
main.cpp Userland: Tighten a *lot* of pledges! :^) 2021-05-13 23:28:40 +02:00