[time-nuts] Warped back to 1993

Hal Murray hmurray at megapathdsl.net
Sun Aug 11 13:51:02 EDT 2013


magnus at rubidium.dyndns.org said:
> I'm sure that the NTP drivers can be hacked to make necessary adjustments
> without too much code. 

The code is already in there.  It's got a fudge option in the config file.  
That was intended to fixup small offsets.  I think it will work with big 
offsets too.

1024 weeks is 1024*7*86400 seconds.  That's 0x24EA0000, 30 bits.  It won't 
fit in a float if you also need to correct for a few ms, but it should work 
if you changed enough stuff from floats to doubles.  They are likely to be 
doubles already.

It would be fun to try.


-- 
These are my opinions.  I hate spam.





More information about the time-nuts mailing list