diff options
author | Gary E. Miller <gem@rellim.com> | 2015-05-08 18:56:53 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-05-08 18:56:53 -0700 |
commit | a5cfafa8f32fb6da2094bf4cae91f8070345771b (patch) | |
tree | 0f4ab89c745a4700a1392db86a641be8ba23adcd /leapsecond.py | |
parent | 955d3679ad44b8aa716fe8a35399c8316f783266 (diff) | |
download | gpsd-a5cfafa8f32fb6da2094bf4cae91f8070345771b.tar.gz |
Stop rounding nSec timespecs to 10 uSec. Fix divide by zero.
A timespec does not fit in a Python float. It does fit in
a Numpy float128. Stop throwing away precision!
Thanks to DrDaemonEye and Jon Schlueter <jon.schlueter@gmail.com>
Diffstat (limited to 'leapsecond.py')
0 files changed, 0 insertions, 0 deletions