zlacker

[parent] [thread] 2 comments
1. gomija+(OP)[view] [source] 2022-07-10 08:59:22
It might not be nanoseconds, but something that's a power of 2 number of nanoseconds going into an appropriately small container seems likely. For example, a 62.5MHz counter going into 53 bits breaks at the same limit. Why 53 bits? That's where things start to get weird with IEEE doubles - adding 1 no longer fits into the mantissa and the number doesn't change. So maybe someone was doing a bit of fp math to figure out the time or schedule a next event? Anyway, very likely some kind of clock math that wrapped or saturated and broke a fundamental assumption.
replies(1): >>dreamc+i22
2. dreamc+i22[view] [source] 2022-07-11 00:31:35
>>gomija+(OP)
53 is indeed a magic value for IEEE doubles, but why would anybody count an inherently integer value with floating-point? That's a serious rookie mistake.

Of course there's no law that says SSD firmware writers can't be rookies.

replies(1): >>lultim+zC2
◧◩
3. lultim+zC2[view] [source] [discussion] 2022-07-11 06:49:08
>>dreamc+i22
Full stack JS, everything is a double down to the SSD firmware!
[go to top]