Fortran · Runtime error
What does Error 65: Floating invalid mean in Fortran?
An operation produced a value with no valid mathematical result, such as taking the logarithm or square root of a negative number.
An operation produced a value with no valid mathematical result, such as taking the logarithm or square root of a negative number.
Check the domain of the input to the function involved before calling it, particularly for values coming from a calculation or from external data rather than a literal constant.