[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Print offset in ntpshmmon?
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] Print offset in ntpshmmon? |
Date: |
Wed, 22 Apr 2015 00:08:33 -0700 |
Yo Miroslav!
On Wed, 22 Apr 2015 08:43:29 +0200
Miroslav Lichvar <address@hidden> wrote:
> Looking at the ntpshmviz code, it seems the clock timestamp is just
> used to calculate the offset. If ntpshmmon did that, ntpshmviz could
> use it directly and as a bonus there would be no loss in the precision
> (avoiding substraction of two large close float values).
Gack. so even ntpshmviz gets the math wrong...
> - offset = (float(record[3]) - float(record[4]))
> + offset = float(record[4])
Both are pretty bad....
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588
- [gpsd-dev] Print offset in ntpshmmon?, Miroslav Lichvar, 2015/04/21
- Re: [gpsd-dev] Print offset in ntpshmmon?, Eric S. Raymond, 2015/04/21
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/21
- Re: [gpsd-dev] Print offset in ntpshmmon?, Miroslav Lichvar, 2015/04/22
- Re: [gpsd-dev] Print offset in ntpshmmon?,
Gary E. Miller <=
- Re: [gpsd-dev] Print offset in ntpshmmon?, Eric S. Raymond, 2015/04/28
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/28
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/28
- Re: [gpsd-dev] Print offset in ntpshmmon?, Miroslav Lichvar, 2015/04/30
- Re: [gpsd-dev] Print offset in ntpshmmon?, Hal Murray, 2015/04/30
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/30
- Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/30
Re: [gpsd-dev] Print offset in ntpshmmon?, Gary E. Miller, 2015/04/21