NG discovered a y2023 bug that caused a pystare crash due to an uncaught exception thrown by STARE. STARE threw an exception on dubious year returns from ERFA, which it does for dates 5 years beyond the date of the ERFA version release. This is because of the unpredictability of leap second addition to the calendar.
Corrections
The ERFA provided by STARE was updated.
Non-nominal ERFA returns no longer cause exceptions but set a "status" register that registers the last non-nominal result before being cleared.
A unit test reproducer verifies the performance of the additions.
NG discovered a y2023 bug that caused a pystare crash due to an uncaught exception thrown by STARE. STARE threw an exception on dubious year returns from ERFA, which it does for dates 5 years beyond the date of the ERFA version release. This is because of the unpredictability of leap second addition to the calendar.
Corrections