mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-02 05:38:06 -05:00
The problem was that the Python "%" operator does not behave exactly like the C function fmod(). However, there is a Python function math.fmod() that does act just like its counterpart in C. Now astro_check output is *identical* between Python and C, at least on my Windows 10 laptop. Reinstated "ctest diff" in unit tests to make sure the two implementations stay in sync.