Skip to main content

Scade One standard libraries 2025 R2

Float

Last update: 16.07.2025

The Float library ensures good practices in the use of floating-point numbers.

  • Comparisons and equality tests with tolerance
Operator Name Description
RelPrecision Returns the relative precision for comparing two numbers with an absolute precision.
EQ Determines whether two values are identical with respect to an absolute precision.
GE Determines whether a value is greater or equal to another value, with respect to an absolute precision.
GT Determines whether a value is greater than another value, with respect to an absolute precision.
LE Determines whether a value is less or equal to another value, with respect to an absolute precision.
LT Determines whether a value is less than another value, with respect to an absolute precision.
NE Determines whether a value is different from another value, with respect to an absolute precision.
RelEQ Determine whether two values are identical with respect to a relative precision.
RelGE Determines whether a value is greater or equal to another value, with respect to a relative precision.
RelGT Determines whether a value is greater than another value, with respect to a relative precision.
RelLE Determines whether a value is less or equal to another value, with respect to a relative precision.
RelLT Determines whether a value is less than another value, with respect to a relative precision.
RelNE Determines whether a value is different from another value, with respect to a relative precision.

Parent topic:Libraries

Connect with Ansys