firefrommoonligh: > <@firefrommoonlight:matrix.org> adamgreig: I was looking at the f32 precision loss issues on wrapping timers we were discussing. Now that I think about it, I\_think\_ it wouldn't be an issue in this case (Wrapping a hardware timer for uptime count) because: > #1: The wrap counter is a u32 > #2: The timer counter itself is handled by hardware, and gets converted to a f32 in seconds when taking and returning the reading. > > So, in this scheme, there is no cumulative floating point loss. Given that, wouldn't floating points not be a concern here? (Sorry to bring up the dead convo, but was looking at it again today to see if I should remove the floats) Like I said, you're fine until you hit `2^23` or `2^24` seconds