Skip to content

FloatNE

FloatNE

Description

Test whether two numeric values differ.

Parameters

Name Direction Description
lhs in Left-hand float
rhs in Right-hand operand selected through generic dispatch

Usage example (from documentation)

  bool changed = FloatNE(&value, 0.0f);

Returns

true when lhs != rhs.

Usage example (Cross-references)

Usage examples (Cross-references)
        bool result = FloatGT(&large, &small);
        result      = result && FloatLT(&negative_large, &small);
        result      = result && FloatNE(&large, &small);
    
        FloatDeinit(&large);
        result      = result && FloatGT(&b, &a);
        result      = result && FloatGE(&b, &a);
        result      = result && FloatNE(&a, &b);
        result      = result && FloatEQ(&b, &expected);
        result      = result && FloatGT(&value, whole);
        result      = result && FloatLE(&value, 13);
        result      = result && FloatNE(&value, 12);
    
        FloatDeinit(&value);
Last updated on