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
2024-10-10 18:36:33 +03:00
2024-10-10 18:33:56 +03:00
Description
No description provided
27 KiB
Languages
C++ 100%