Fortran · Runtime error

Error 73: Floating divide by zero

What does Error 73: Floating divide by zero mean in Fortran?

A floating-point division operation attempted to divide by zero.

Error 73: Floating divide by zeroIntel Fortran · gfortran

Condition

A floating-point division operation attempted to divide by zero.

Fix

Add an explicit check for a zero divisor before the division, or compile with floating-point exception trapping enabled (for example gfortran's -ffpe-trap=zero) during development so the program stops at the exact division rather than continuing with an Inf value.

Pending source verification. Not yet checked against official documentation.

Related runtime error