gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Print offset in ntpshmmon?


From: Hal Murray
Subject: Re: [gpsd-dev] Print offset in ntpshmmon?
Date: Thu, 30 Apr 2015 10:21:16 -0700

address@hidden said:
> Offset is normally close to zero. I think printing the offset in ntpshmmon
> as a double and parsing it as a float in ntpshmviz would be fine. 

I can't think of any case where offsets as floats would cause problems.  
doubles might be better.

The problem is the timestamps.  To get an offset by subtracting two 
timestamps, you need to do that subtraction before the conversion to floating 
point.


-- 
These are my opinions.  I hate spam.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]