GNU Octave  4.0.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-ieee.cc File Reference
#include <cfloat>
#include <cmath>
#include <cstdlib>
#include <limits>
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-math.h"
#include "mach-info.h"
Include dependency graph for lo-ieee.cc:

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_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_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)
 
void octave_ieee_init (void)
 

Variables

static float lo_float_inf
 
static float lo_float_na
 
static float lo_float_nan
 
static int lo_ieee_hw
 
static int lo_ieee_lw
 
static double lo_inf
 
static double lo_na
 
static double lo_nan
 

Function Documentation

int __lo_ieee_finite ( double  x)

Definition at line 61 of file lo-ieee.cc.

int __lo_ieee_float_finite ( float  x)

Definition at line 156 of file lo-ieee.cc.

References __lo_ieee_float_isnan().

int __lo_ieee_float_is_NA ( float  x)
int __lo_ieee_float_isinf ( float  x)

Definition at line 167 of file lo-ieee.cc.

int __lo_ieee_float_isnan ( float  x)

Definition at line 145 of file lo-ieee.cc.

Referenced by __lo_ieee_float_finite(), and __lo_ieee_float_is_NA().

int __lo_ieee_float_signbit ( float  x)

Definition at line 210 of file lo-ieee.cc.

Referenced by xnegative_sign().

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

Definition at line 72 of file lo-ieee.cc.

int __lo_ieee_isnan ( double  x)

Definition at line 50 of file lo-ieee.cc.

Referenced by __lo_ieee_is_NA(), and __lo_ieee_is_old_NA().

double __lo_ieee_replace_old_NA ( double  x)

Definition at line 101 of file lo-ieee.cc.

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 134 of file lo-ieee.cc.

Referenced by xnegative_sign().

float lo_ieee_float_inf_value ( void  )

Definition at line 186 of file lo-ieee.cc.

References lo_float_inf, and octave_ieee_init().

Referenced by FInf().

float lo_ieee_float_na_value ( void  )

Definition at line 194 of file lo-ieee.cc.

References lo_float_na, and octave_ieee_init().

Referenced by FNA().

float lo_ieee_float_nan_value ( void  )
double lo_ieee_inf_value ( void  )

Definition at line 110 of file lo-ieee.cc.

References lo_inf, and octave_ieee_init().

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

double lo_ieee_na_value ( void  )

Definition at line 118 of file lo-ieee.cc.

References lo_na, and octave_ieee_init().

Referenced by __lo_ieee_replace_old_NA(), and FNA().

double lo_ieee_nan_value ( void  )
void octave_ieee_init ( void  )

Variable Documentation

float lo_float_inf
static

Definition at line 37 of file lo-ieee.cc.

Referenced by lo_ieee_float_inf_value().

float lo_float_na
static

Definition at line 39 of file lo-ieee.cc.

Referenced by lo_ieee_float_na_value().

float lo_float_nan
static

Definition at line 38 of file lo-ieee.cc.

Referenced by lo_ieee_float_nan_value().

int lo_ieee_hw
static

Definition at line 41 of file lo-ieee.cc.

Referenced by octave_ieee_init().

int lo_ieee_lw
static

Definition at line 42 of file lo-ieee.cc.

Referenced by octave_ieee_init().

double lo_inf
static

Definition at line 33 of file lo-ieee.cc.

Referenced by lo_ieee_inf_value().

double lo_na
static

Definition at line 35 of file lo-ieee.cc.

Referenced by lo_ieee_na_value().

double lo_nan
static

Definition at line 34 of file lo-ieee.cc.

Referenced by lo_ieee_nan_value().