Compute ΔT for a decimal Gregorian year using algorithm 2.
- Parameters
-
| year | The year, of double type. |
- Returns
- ΔT in seconds.
- Example
- compute(2005.99999999....) returns ΔT for the last moment of year 2005.
- Example
- compute(1984.0) returns ΔT for the first moment of year 1984.
- See also
- Espenak and Meeus, NASA/TP-2006-214141, Section 2.7, equations (11)-(25). https://ntrs.nasa.gov/citations/20070003587
- Note
- noexcept: a non-finite year propagates to a non-finite ΔT (#86).
-
Frozen model; algorithms 3, 4, and 5 delegate to it for years before 2005.