Go to file
Sergii Piatakov bffd2aad57 fix truncation error
To convert float to integer the truncation is performed, but the
rounding is expected.

Test: Add (4.9, 4.9) should return 10.
Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
2024-10-10 18:36:33 +03:00
calculator.cpp fix truncation error 2024-10-10 18:36:33 +03:00
calculator.h improve calculation accuracy 2024-10-10 18:33:56 +03:00