paluke

Results 1 comments of paluke

It's possible to calculate without floats: uint32_t remainder = (fractionOfSecond + 16777 / 2) / 16777; But encoding also needs rounding before drop insignificant bits: fractionOfSecond = ((remainder) * 16777...