Researched fmod() behaviour