Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TMathOperation.Check

Validate the mathematical operation for correctness

Declaration

Source position: fpexprpars.pp line 301

public procedure TMathOperation.Check; override;

Description

The Check method validates that the mathematical operation can be performed safely on the provided operands. It checks that both operands are of compatible numeric types and that the operation is mathematically valid.

The validation includes type compatibility checking and ensures that operations like division by zero or other mathematically undefined operations are detected before evaluation attempts.


Documentation generated on: Dec 15 2025