summaryrefslogtreecommitdiff
path: root/leapsecond.py
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-05-08 18:56:53 -0700
committerGary E. Miller <gem@rellim.com>2015-05-08 18:56:53 -0700
commita5cfafa8f32fb6da2094bf4cae91f8070345771b (patch)
tree0f4ab89c745a4700a1392db86a641be8ba23adcd /leapsecond.py
parent955d3679ad44b8aa716fe8a35399c8316f783266 (diff)
downloadgpsd-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