2.1.16.4.4 is_missing_value


Description

Check whether a given value is a missing value

Syntax

BOOL is_missing_value( double x )

Parameters

x
[input] the double value to test

Return

TRUE if missing value, otherwise FALSE.

Examples

EX1

void    is_missing_value_ex1()
{
    // Deliberately generate a missing value:
    double        rr = 7./0.;
    
    if (is_missing_value(rr))
        out_str("Missing value!");
    else
        out_str("Not missing value");
}

Remark

Test given double value to determine whether it is a missing value recorgnized by Origin

See Also

Header to Include

origin.h

Reference