eagle.cpp: Add float casting to fmod PI argument