#include <cmath>
#include "octave-config.h"
Go to the source code of this file.
Classes | |
union | lo_ieee_double |
union | lo_ieee_float |
Macros | |
#define | lo_ieee_finite(x) |
#define | lo_ieee_is_NA(x) |
#define | lo_ieee_is_NaN_or_NA(x) |
#define | lo_ieee_isinf(x) |
#define | lo_ieee_isnan(x) |
#define | LO_IEEE_NA_FLOAT 0x7FC207A2 |
#define | LO_IEEE_NA_HW 0x7FF840F4 |
#define | LO_IEEE_NA_HW_OLD 0x7ff00000 |
#define | LO_IEEE_NA_LW 0x40000000 |
#define | LO_IEEE_NA_LW_OLD 1954 |
#define | lo_ieee_signbit(x) |
#define | octave_Float_Inf (lo_ieee_float_inf_value ()) |
#define | octave_Float_NA (lo_ieee_float_na_value ()) |
#define | octave_Float_NaN (lo_ieee_float_nan_value ()) |
#define | octave_Inf (lo_ieee_inf_value ()) |
#define | octave_NA (lo_ieee_na_value ()) |
#define | octave_NaN (lo_ieee_nan_value ()) |
Functions | |
int | __lo_ieee_finite (double x) |
int | __lo_ieee_float_finite (float x) |
OCTAVE_API int | __lo_ieee_float_is_NA (float) |
int | __lo_ieee_float_isinf (float x) |
int | __lo_ieee_float_isnan (float x) |
int | __lo_ieee_float_signbit (float x) |
OCTAVE_API int | __lo_ieee_is_NA (double) |
OCTAVE_API int | __lo_ieee_is_old_NA (double) |
int | __lo_ieee_isinf (double x) |
int | __lo_ieee_isnan (double x) |
OCTAVE_API double | __lo_ieee_replace_old_NA (double) |
int | __lo_ieee_signbit (double x) |
OCTAVE_API float | lo_ieee_float_inf_value (void) |
OCTAVE_API float | lo_ieee_float_na_value (void) |
OCTAVE_API float | lo_ieee_float_nan_value (void) |
OCTAVE_API double | lo_ieee_inf_value (void) |
OCTAVE_API double | lo_ieee_na_value (void) |
OCTAVE_API double | lo_ieee_nan_value (void) |
OCTAVE_API void | octave_ieee_init (void) |
#define lo_ieee_finite | ( | x | ) |
#define lo_ieee_is_NA | ( | x | ) |
#define lo_ieee_is_NaN_or_NA | ( | x | ) |
#define lo_ieee_isinf | ( | x | ) |
#define lo_ieee_isnan | ( | x | ) |
#define lo_ieee_signbit | ( | x | ) |
#define octave_Float_Inf (lo_ieee_float_inf_value ()) |
#define octave_Float_NA (lo_ieee_float_na_value ()) |
#define octave_Float_NaN (lo_ieee_float_nan_value ()) |
#define octave_Inf (lo_ieee_inf_value ()) |
#define octave_NA (lo_ieee_na_value ()) |
#define octave_NaN (lo_ieee_nan_value ()) |
|
inline |
Definition at line 83 of file lo-ieee.h.
References octave::math::isfinite(), and x.
|
inline |
Definition at line 97 of file lo-ieee.h.
References octave::math::isfinite(), and x.
OCTAVE_API 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.
|
inline |
Definition at line 98 of file lo-ieee.h.
References octave::math::isinf(), and x.
|
inline |
Definition at line 96 of file lo-ieee.h.
References octave::math::isnan(), and x.
Referenced by __lo_ieee_float_is_NA().
|
inline |
Definition at line 106 of file lo-ieee.h.
References octave::math::signbit(), and x.
Referenced by octave::math::negative_sign().
OCTAVE_API 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.
OCTAVE_API 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 >().
|
inline |
Definition at line 84 of file lo-ieee.h.
References octave::math::isinf(), and x.
|
inline |
Definition at line 82 of file lo-ieee.h.
References octave::math::isnan(), and x.
Referenced by __lo_ieee_is_NA(), and __lo_ieee_is_old_NA().
OCTAVE_API 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 >().
|
inline |
Definition at line 94 of file lo-ieee.h.
References octave::math::signbit(), and x.
Referenced by octave::math::negative_sign().
OCTAVE_API 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().
OCTAVE_API 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().
OCTAVE_API 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().
OCTAVE_API 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().
OCTAVE_API 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().
OCTAVE_API 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().
OCTAVE_API 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().