rtxReal.h File Reference

Common runtime functions for working with floating-point numbers. More...

#include "rtxsrc/osSysTypes.h"
#include "rtxsrc/rtxExternDefs.h"

Go to the source code of this file.


Functions

EXTERNRT OSREAL rtxGetMinusInfinity (void)
 Returns the IEEE negative infinity value.
EXTERNRT OSREAL rtxGetMinusZero (void)
 Returns the IEEE minus zero value.
EXTERNRT OSREAL rtxGetNaN (void)
 Returns the IEEE Not-A-Number (NaN) value.
EXTERNRT OSREAL rtxGetPlusInfinity (void)
 Returns the IEEE posative infinity value.
EXTERNRT OSBOOL rtxIsMinusInfinity (OSREAL value)
 A utility function that compares the given input value to the IEEE 754 value for negative infinity.
EXTERNRT OSBOOL rtxIsMinusZero (OSREAL value)
 A utility function that compares the given input value to the IEEE 754 value for minus zero.
EXTERNRT OSBOOL rtxIsNaN (OSREAL value)
 A utility function that compares the given input value to the IEEE 754 value for Not-A-Number (NaN).
EXTERNRT OSBOOL rtxIsPlusInfinity (OSREAL value)
 A utility function that compares the given input value to the IEEE 754 value for positive infinity.
EXTERNRT OSBOOL rtxIsApproximate (OSREAL a, OSREAL b, OSREAL delta)
 A utility function that return TRUE when first number are approximate to second number with given precision.
EXTERNRT OSBOOL rtxIsApproximateAbs (OSREAL a, OSREAL b, OSREAL delta)
 A utility function that return TRUE when first number are approximate to second number with given absolute precision.

Detailed Description

Common runtime functions for working with floating-point numbers.

Definition in file rtxReal.h.