Skip to content

Commit

Permalink
Reference the IAU 2012 definition of the astronomical unit.
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Mar 25, 2024
1 parent ffb676d commit 8df870f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Changes for the upcoming release of SuperNOVAS, possibly around 1 June 2024. Sta

### Changes

- Changed definition of `AU` to the IAU definition of exactly 1.495978707e+11 m.
- Changed definition of `NOVAS_AU` to the IAU definition of exactly 149597870.7 km (a <10 m change from the
previously defined value).
- Various corrections and changes to documentation.


Expand Down
1 change: 1 addition & 0 deletions include/novas.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
#define NOVAS_C 299792458.0

/// [m] Astronomical unit in meters. Value is AU_SEC * C. IAU definition.
/// See <a href="https://www.iau.org/static/resolutions/IAU2012_English.pdf">IAU 2012 Resolution B2</a>.
#define NOVAS_AU 1.495978707e+11

/*
Expand Down

0 comments on commit 8df870f

Please sign in to comment.