summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorcreator1creeper1 <creator1creeper1@airmail.cc>2021-12-19 22:13:18 +0100
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-22 00:43:13 -0800
commit4b2b0a4d0e6dce20b7b40139d0c7c666c5282708 (patch)
tree269bfdc4c11afd525a6e827e38aee553ab869673 /Userland/DevTools
parentb2f0697afc9dfbdb6d3bae844cf1b7e2ee218f18 (diff)
downloadserenity-4b2b0a4d0e6dce20b7b40139d0c7c666c5282708.zip
Calculator: Make double construction and conversion private
At this point, the double conversions should really only be implementation details of the KeypadValue class. Therefore, the constructor-from double and conversion-operator-to double of KeypadValue are made private. Instead, the required functionality is provided by KeypadValue itself. The internal implementation is still done using doubles. However, this opens us up to the possibility of having loss-free square root, inversion and division in the future.
Diffstat (limited to 'Userland/DevTools')
0 files changed, 0 insertions, 0 deletions