Admin Production ni-theme
Current Publication

Ivi_GetPtrToSpecialViReal64Value

IVI Compliance Package

Ivi_GetPtrToSpecialViReal64Value

Usage

ViReal64 * Ivi_GetPtrToSpecialViReal64Value (ViReal64 specialViReal64Type);

Purpose

Obtains a pointer to a value that represents one of the special floating point number types as defined by the IEEE 754 standard.

Parameters

Input
Name Type Description
specialViReal64Type ViReal64 Specifies the type of the special ViReal64 value you want to obtain:

Valid Values:

(1) IVI_VAL_TYPE_NAN—Not a Number (NaN)
(2) IVI_VAL_TYPE_PINF—positive infinity
(3) IVI_VAL_TYPE_NINF—negative infinity

All other values are coerced to IVI_VAL_TYPE_NAN.

Return Value

A pointer to a special ViReal64 value based on the value of the specialViReal64Type parameter.