Delphi / Object Pascal · Exception
What does Runtime Error 207: EInvalidOp (invalid floating point operation) mean in Delphi / Object Pascal?
A floating-point operation had no valid mathematical result, such as taking the square root of a negative number.
A floating-point operation had no valid mathematical result, such as taking the square root of a negative number.
Check the domain of the input before calling the function involved, particularly for values coming from a calculation or external data rather than a literal constant.