FreeRDP
SpecialQuantities

Macros

#define TRIO_PRIVATE_NAN   TRIO_PRIVATE
 
#define TRIO_TRUE   (1 == 1)
 
#define TRIO_FALSE   (0 == 1)
 
#define TRIO_FUNC_INTERNAL_FPCLASSIFY_AND_SIGNBIT
 
#define TRIO_NZERO_FALLBACK
 
#define TRIO_PINF_FALLBACK
 
#define TRIO_NAN_FALLBACK
 
#define TRIO_FUNC_INTERNAL_ISNAN
 
#define TRIO_FUNC_INTERNAL_ISINF
 
#define TRIO_INTERNAL_ISNAN_FALLBACK
 
#define TRIO_INTERNAL_ISINF_FALLBACK
 

Functions

TRIO_PRIVATE_NAN TRIO_INLINE int internal_isnan TRIO_ARGS1 ((number), double number)
 
TRIO_PUBLIC_NAN int trio_fpclassify_and_signbit TRIO_ARGS2 ((number, is_negative), double number, int *is_negative)
 
TRIO_PUBLIC_NAN double trio_nzero (TRIO_NOARGS)
 
TRIO_PUBLIC_NAN double trio_pinf (TRIO_NOARGS)
 
TRIO_PUBLIC_NAN double trio_ninf (TRIO_NOARGS)
 
TRIO_PUBLIC_NAN double trio_nan (TRIO_NOARGS)
 

Detailed Description

Macro Definition Documentation

◆ TRIO_FALSE

#define TRIO_FALSE   (0 == 1)

◆ TRIO_FUNC_INTERNAL_FPCLASSIFY_AND_SIGNBIT

#define TRIO_FUNC_INTERNAL_FPCLASSIFY_AND_SIGNBIT

◆ TRIO_FUNC_INTERNAL_ISINF

#define TRIO_FUNC_INTERNAL_ISINF

◆ TRIO_FUNC_INTERNAL_ISNAN

#define TRIO_FUNC_INTERNAL_ISNAN

◆ TRIO_INTERNAL_ISINF_FALLBACK

#define TRIO_INTERNAL_ISINF_FALLBACK

◆ TRIO_INTERNAL_ISNAN_FALLBACK

#define TRIO_INTERNAL_ISNAN_FALLBACK

◆ TRIO_NAN_FALLBACK

#define TRIO_NAN_FALLBACK

◆ TRIO_NZERO_FALLBACK

#define TRIO_NZERO_FALLBACK

◆ TRIO_PINF_FALLBACK

#define TRIO_PINF_FALLBACK

◆ TRIO_PRIVATE_NAN

#define TRIO_PRIVATE_NAN   TRIO_PRIVATE

◆ TRIO_TRUE

#define TRIO_TRUE   (1 == 1)

Function Documentation

◆ TRIO_ARGS1()

TRIO_PUBLIC_NAN int trio_fpclassify TRIO_ARGS1 ( (number)  ,
double  number 
)

Check for NaN.

Parameters
numberAn arbitrary floating-point number.
Returns
Boolean value indicating whether or not the number is a NaN.

Check for infinity.

Parameters
numberAn arbitrary floating-point number.
Returns
1 if positive infinity, -1 if negative infinity, 0 otherwise.

Check for finity.

Parameters
numberAn arbitrary floating-point number.
Returns
Boolean value indicating whether or not the number is a finite.

Examine the sign of a number.

Parameters
numberAn arbitrary floating-point number.
Returns
Boolean value indicating whether or not the number has the sign bit set (i.e. is negative).

Examine the class of a number.

Parameters
numberAn arbitrary floating-point number.
Returns
Enumerable value indicating the class of number

◆ TRIO_ARGS2()

TRIO_PUBLIC_NAN int trio_fpclassify_and_signbit TRIO_ARGS2 ( (number, is_negative)  ,
double  number,
int *  is_negative 
)

◆ trio_nan()

TRIO_PUBLIC_NAN double trio_nan ( TRIO_NOARGS  )

Generate NaN.

Returns
Floating-point representation of NaN.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ trio_ninf()

TRIO_PUBLIC_NAN double trio_ninf ( TRIO_NOARGS  )

Generate negative infinity.

Returns
Floating-point value of negative infinity.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ trio_nzero()

TRIO_PUBLIC_NAN double trio_nzero ( TRIO_NOARGS  )

Generate negative zero.

Returns
Floating-point representation of negative zero.

◆ trio_pinf()

TRIO_PUBLIC_NAN double trio_pinf ( TRIO_NOARGS  )

Generate positive infinity.

Returns
Floating-point representation of positive infinity.
Here is the caller graph for this function: