#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.
Functions | |
int | __lo_ieee_float_is_NA (float x) |
int | __lo_ieee_is_NA (double x) |
int | __lo_ieee_is_old_NA (double x) |
double | __lo_ieee_replace_old_NA (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 |
int __lo_ieee_float_is_NA | ( | float | x | ) |
Definition at line 102 of file lo-ieee.cc.
References __lo_ieee_float_isnan(), LO_IEEE_NA_FLOAT, lo_ieee_float::value, lo_ieee_float::word, and x.
int __lo_ieee_is_NA | ( | double | x | ) |
Definition at line 51 of file lo-ieee.cc.
References __lo_ieee_isnan(), lo_ieee_hw, lo_ieee_lw, LO_IEEE_NA_HW, LO_IEEE_NA_LW, lo_ieee_double::value, lo_ieee_double::word, and x.
int __lo_ieee_is_old_NA | ( | double | x | ) |
Definition at line 60 of file lo-ieee.cc.
References __lo_ieee_isnan(), lo_ieee_hw, lo_ieee_lw, LO_IEEE_NA_HW_OLD, LO_IEEE_NA_LW_OLD, lo_ieee_double::value, lo_ieee_double::word, and x.
Referenced by __lo_ieee_replace_old_NA(), and octave::is_old_NA< double >().
double __lo_ieee_replace_old_NA | ( | double | x | ) |
Definition at line 69 of file lo-ieee.cc.
References __lo_ieee_is_old_NA(), lo_ieee_na_value(), and x.
Referenced by read_doubles(), and octave::replace_old_NA< double >().
float lo_ieee_float_inf_value | ( | void | ) |
Definition at line 110 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 118 of file lo-ieee.cc.
References lo_float_na, and octave_ieee_init().
Referenced by FNA().
float lo_ieee_float_nan_value | ( | void | ) |
Definition at line 126 of file lo-ieee.cc.
References lo_float_nan, and octave_ieee_init().
Referenced by octave_base_diag< DMT, MT >::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_range::float_complex_value(), octave_matrix::float_complex_value(), and FNaN().
double lo_ieee_inf_value | ( | void | ) |
Definition at line 78 of file lo-ieee.cc.
References lo_inf, and octave_ieee_init().
Referenced by Ffread(), FInf(), Fsscanf(), mxGetInf(), and scanf_internal().
double lo_ieee_na_value | ( | void | ) |
Definition at line 86 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 | ) |
Definition at line 94 of file lo-ieee.cc.
References lo_nan, and octave_ieee_init().
Referenced by NDArray::NDArray(), octave::math::ellipj(), FNaN(), Ftsearch(), and mxGetNaN().
void octave_ieee_init | ( | void | ) |
Definition at line 134 of file lo-ieee.cc.
References octave::mach_info::flt_fmt_ieee_big_endian, octave::mach_info::flt_fmt_ieee_little_endian, lo_float_inf, lo_float_na, lo_float_nan, lo_ieee_hw, lo_ieee_lw, LO_IEEE_NA_FLOAT, LO_IEEE_NA_HW, LO_IEEE_NA_LW, lo_inf, lo_na, lo_nan, octave::mach_info::native_float_format(), lo_ieee_double::value, lo_ieee_float::value, lo_ieee_double::word, and lo_ieee_float::word.
Referenced by octave::interpreter::interpreter(), lo_ieee_float_inf_value(), lo_ieee_float_na_value(), lo_ieee_float_nan_value(), lo_ieee_inf_value(), lo_ieee_na_value(), and lo_ieee_nan_value().
|
static |
Definition at line 43 of file lo-ieee.cc.
Referenced by lo_ieee_float_inf_value(), and octave_ieee_init().
|
static |
Definition at line 45 of file lo-ieee.cc.
Referenced by lo_ieee_float_na_value(), and octave_ieee_init().
|
static |
Definition at line 44 of file lo-ieee.cc.
Referenced by lo_ieee_float_nan_value(), and octave_ieee_init().
|
static |
Definition at line 47 of file lo-ieee.cc.
Referenced by __lo_ieee_is_NA(), __lo_ieee_is_old_NA(), and octave_ieee_init().
|
static |
Definition at line 48 of file lo-ieee.cc.
Referenced by __lo_ieee_is_NA(), __lo_ieee_is_old_NA(), and octave_ieee_init().
|
static |
Definition at line 39 of file lo-ieee.cc.
Referenced by lo_ieee_inf_value(), and octave_ieee_init().
|
static |
Definition at line 41 of file lo-ieee.cc.
Referenced by lo_ieee_na_value(), and octave_ieee_init().
|
static |
Definition at line 40 of file lo-ieee.cc.
Referenced by lo_ieee_nan_value(), and octave_ieee_init().