lfpinit() signed or unsigned?
Hal Murray
hmurray at megapathdsl.net
Wed Mar 22 18:33:32 UTC 2017
hmurray at megapathdsl.net said:
> There is an implicit assumption that the two (l_fp) times that you subtract
> are in the same epoch.
Argh. That's wrong. It works across the epoch boundary. The requirement is
"close-enough", but you have to stand on your head to recognize that the the
boundary crossing can be close.
I'll have to think hard about the boundary case. I think the subtract
overflows but it gets the right answer.
--
These are my opinions. I hate spam.
More information about the devel
mailing list