#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 () |
#define LO_IEEE_NA_FLOAT 0x7FC207A2 |
Definition at line 56 of file lo-ieee.cc.
#define LO_IEEE_NA_HW 0x7FF840F4 |
Definition at line 53 of file lo-ieee.cc.
#define LO_IEEE_NA_LW 0x40000000 |
Definition at line 55 of file lo-ieee.cc.
int __lo_ieee_float_is_NA | ( | float | x | ) |
Definition at line 92 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 59 of file lo-ieee.cc.
References __lo_ieee_isnan(), lo_ieee_double::value, lo_ieee_double::word, and x.
float lo_ieee_float_inf_value | ( | void | ) |
Definition at line 100 of file lo-ieee.cc.
References octave_ieee_init().
float lo_ieee_float_na_value | ( | void | ) |
Definition at line 108 of file lo-ieee.cc.
References octave_ieee_init().
float lo_ieee_float_nan_value | ( | void | ) |
Definition at line 116 of file lo-ieee.cc.
References 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(), ov_range< T >::float_complex_value(), and octave_matrix::float_complex_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().
double lo_ieee_na_value | ( | void | ) |
Definition at line 76 of file lo-ieee.cc.
References octave_ieee_init().
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().
void octave_ieee_init | ( | void | ) |
Definition at line 124 of file lo-ieee.cc.
References flt_fmt_ieee_big_endian, flt_fmt_ieee_little_endian, and native_float_format().
Referenced by 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().