diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-01-19 16:13:21 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-01-19 16:13:21 -0500 |
commit | f6a463bd47b8f3149a9fdba5e02383ae1bc4e4da (patch) | |
tree | fcdd6cee9a0ecf757fe02263c925b86fbb50cd95 /leapcheck.i | |
parent | 181a455552c3274c29f789b7cba1cd5185261b1f (diff) | |
download | gpsd-f6a463bd47b8f3149a9fdba5e02383ae1bc4e4da.tar.gz |
Generate coefficients for least-squares fit into the C code.
Diffstat (limited to 'leapcheck.i')
-rw-r--r-- | leapcheck.i | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/leapcheck.i b/leapcheck.i index 23015092..0c01c93c 100644 --- a/leapcheck.i +++ b/leapcheck.i @@ -1,17 +1,16 @@ - 315550800.0, // 31 Dec 1979 23:59:60 -> 0 - 362807999.0, // 30 Jun 1981 23:59:59 -> 1 - 394343999.0, // 30 Jun 1982 23:59:59 -> 2 - 425879999.0, // 30 Jun 1983 23:59:59 -> 3 - 489038399.0, // 30 Jun 1985 23:59:59 -> 4 - 568011600.0, // 31 Dec 1987 23:59:60 -> 5 - 631170000.0, // 31 Dec 1989 23:59:60 -> 6 - 662706000.0, // 31 Dec 1990 23:59:60 -> 7 - 709963199.0, // 30 Jun 1992 23:59:59 -> 8 - 741499199.0, // 30 Jun 1993 23:59:59 -> 9 - 773035199.0, // 30 Jun 1994 23:59:59 -> 10 - 820472400.0, // 31 Dec 1995 23:59:60 -> 11 - 867729599.0, // 30 Jun 1997 23:59:59 -> 12 - 915166800.0, // 31 Dec 1998 23:59:60 -> 13 - 1136091600.0, // 31 Dec 2005 23:59:60 -> 14 - 1230786000.0, // 31 Dec 2008 23:59:60 -> 15 - 1295350796.0, // 18 Jan 2011 06:39:56 -> ? +315550800.0 +362807999.0 +394343999.0 +425879999.0 +489038399.0 +568011600.0 +631170000.0 +662706000.0 +709963199.0 +741499199.0 +773035199.0 +820472400.0 +867729599.0 +915166800.0 +1136091600.0 +1230786000.0 |