GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
lo-ieee.cc File Reference
#include <cmath>
#include <cstdlib>
#include <limits>
#include "lo-error.h"
#include "lo-ieee.h"
#include "mach-info.h"

Go to the source code of this file.

Macros

#define LO_IEEE_NA_FLOAT   0x7FC207A2
 
#define LO_IEEE_NA_HW   0x7FF840F4
 
#define LO_IEEE_NA_LW   0x40000000
 

Functions

int __lo_ieee_float_is_NA (float x)
 
int __lo_ieee_is_NA (double x)
 
float lo_ieee_float_inf_value ()
 
float lo_ieee_float_na_value ()
 
float lo_ieee_float_nan_value ()
 
double lo_ieee_inf_value ()
 
double lo_ieee_na_value ()
 
double lo_ieee_nan_value ()
 
void octave_ieee_init ()
 

Macro Definition Documentation

◆ LO_IEEE_NA_FLOAT

#define LO_IEEE_NA_FLOAT   0x7FC207A2

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

◆ LO_IEEE_NA_HW

#define LO_IEEE_NA_HW   0x7FF840F4

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

◆ LO_IEEE_NA_LW

#define LO_IEEE_NA_LW   0x40000000

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

Function Documentation

◆ __lo_ieee_float_is_NA()

int __lo_ieee_float_is_NA ( float  x)

◆ __lo_ieee_is_NA()

int __lo_ieee_is_NA ( double  x)

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

References __lo_ieee_isnan(), lo_ieee_double::value, lo_ieee_double::word, and x.

◆ lo_ieee_float_inf_value()

float lo_ieee_float_inf_value ( void  )

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

References octave_ieee_init().

◆ lo_ieee_float_na_value()

float lo_ieee_float_na_value ( void  )

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

References octave_ieee_init().

◆ lo_ieee_float_nan_value()

◆ lo_ieee_inf_value()

double lo_ieee_inf_value ( void  )

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

References octave_ieee_init().

Referenced by octave::Ffread(), and mxGetInf().

◆ lo_ieee_na_value()

double lo_ieee_na_value ( void  )

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

References octave_ieee_init().

◆ lo_ieee_nan_value()

double lo_ieee_nan_value ( void  )

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

References octave_ieee_init().

Referenced by NDArray::NDArray(), ellipj(), and mxGetNaN().

◆ octave_ieee_init()