1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 23:15:43 +00:00
openmw/apps/openmw_test_suite/mwworld
elsid 9c34ef8720
Fix hour modulo expression
Round result of std::fmod(hours, 24) to the nearest float below 24 on double to
float conversion when it is not. Add special type and conversion function along
with tests to be used in all places where such conversion happens.

To avoid producing hours equal to 24 due to double to float precision loss.
2022-12-29 22:09:56 +01:00
..
test_store.cpp Revert std::filesystem usages 2022-09-15 14:14:52 +04:00
testduration.cpp Fix hour modulo expression 2022-12-29 22:09:56 +01:00
testtimestamp.cpp Fix hour modulo expression 2022-12-29 22:09:56 +01:00