Whether a domain error occurs or zero is returned when the fmod function has a second argument of zero (§4.5.6.4)
When the fmod function has a second argument of zero, the function returns zero.