GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
lo-cieee.c File Reference
#include <float.h>
#include "lo-ieee.h"
#include "lo-math.h"
Include dependency graph for lo-cieee.c:

Go to the source code of this file.

Functions

int __lo_ieee_finite (double x)
int __lo_ieee_float_finite (float x)
int __lo_ieee_float_is_NA (float x)
int __lo_ieee_float_is_NaN_or_NA (float x)
int __lo_ieee_float_isinf (float x)
int __lo_ieee_float_isnan (float x)
int __lo_ieee_float_signbit (float x)
int __lo_ieee_is_NA (double x)
int __lo_ieee_is_NaN_or_NA (double x)
int __lo_ieee_is_old_NA (double x)
int __lo_ieee_isinf (double x)
int __lo_ieee_isnan (double x)
double __lo_ieee_replace_old_NA (double x)
int __lo_ieee_signbit (double x)
float lo_ieee_float_inf_value (void)
float lo_ieee_float_na_value (void)
float lo_ieee_float_nan_value (void)
double lo_ieee_inf_value (void)
double lo_ieee_na_value (void)
double lo_ieee_nan_value (void)

Variables

int lo_ieee_hw
int lo_ieee_lw
float octave_Float_Inf
float octave_Float_NA
float octave_Float_NaN
double octave_Inf
double octave_NA
double octave_NaN

Function Documentation

int __lo_ieee_finite ( double  x)

Definition at line 81 of file lo-cieee.c.

References __lo_ieee_isnan().

int __lo_ieee_float_finite ( float  x)

Definition at line 198 of file lo-cieee.c.

References __lo_ieee_float_isnan().

int __lo_ieee_float_is_NA ( float  x)

Definition at line 222 of file lo-cieee.c.

References LO_IEEE_NA_FLOAT, lo_ieee_float::value, lo_ieee_float::word, and x.

int __lo_ieee_float_is_NaN_or_NA ( float  x)

Definition at line 234 of file lo-cieee.c.

References __lo_ieee_float_isnan().

int __lo_ieee_float_isinf ( float  x)

Definition at line 210 of file lo-cieee.c.

References __lo_ieee_float_isnan().

int __lo_ieee_float_isnan ( float  x)
int __lo_ieee_float_signbit ( float  x)

Definition at line 262 of file lo-cieee.c.

Referenced by xnegative_sign().

int __lo_ieee_is_NA ( double  x)

Definition at line 105 of file lo-cieee.c.

References LO_IEEE_NA_HW, LO_IEEE_NA_LW, lo_ieee_double::value, lo_ieee_double::word, and x.

int __lo_ieee_is_NaN_or_NA ( double  x)

Definition at line 140 of file lo-cieee.c.

References __lo_ieee_isnan().

int __lo_ieee_is_old_NA ( double  x)
int __lo_ieee_isinf ( double  x)

Definition at line 93 of file lo-cieee.c.

References __lo_ieee_isnan().

int __lo_ieee_isnan ( double  x)

Definition at line 71 of file lo-cieee.c.

Referenced by __lo_ieee_finite(), __lo_ieee_is_NaN_or_NA(), and __lo_ieee_isinf().

double __lo_ieee_replace_old_NA ( double  x)

Definition at line 131 of file lo-cieee.c.

References __lo_ieee_is_old_NA(), lo_ieee_na_value(), and x.

Referenced by convert_and_copy(), and read_doubles().

int __lo_ieee_signbit ( double  x)

Definition at line 168 of file lo-cieee.c.

Referenced by xnegative_sign().

float lo_ieee_float_inf_value ( void  )

Definition at line 240 of file lo-cieee.c.

References octave_Float_Inf.

Referenced by FInf().

float lo_ieee_float_na_value ( void  )

Definition at line 246 of file lo-cieee.c.

References octave_Float_NA.

Referenced by FNA().

float lo_ieee_float_nan_value ( void  )
double lo_ieee_inf_value ( void  )

Definition at line 146 of file lo-cieee.c.

References octave_Inf.

Referenced by Ffread(), Ffscanf(), FInf(), Fsscanf(), and mxGetInf().

double lo_ieee_na_value ( void  )

Definition at line 152 of file lo-cieee.c.

References octave_NA.

Referenced by __lo_ieee_replace_old_NA(), and FNA().

double lo_ieee_nan_value ( void  )

Variable Documentation

int lo_ieee_hw

Definition at line 67 of file lo-cieee.c.

Referenced by octave_ieee_init().

int lo_ieee_lw

Definition at line 68 of file lo-cieee.c.

Referenced by octave_ieee_init().

float octave_Float_Inf
float octave_Float_NA

Definition at line 61 of file lo-cieee.c.

Referenced by lo_ieee_float_na_value(), and octave_ieee_init().

float octave_Float_NaN
double octave_Inf
double octave_NA

Definition at line 60 of file lo-cieee.c.

Referenced by DEFUN_DLD(), lin_interpn(), lo_ieee_na_value(), octave_ieee_init(), and single_num().

double octave_NaN