mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-05 22:17:48 -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.