GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
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 | |
OCTAVE_API int | __lo_ieee_finite (double x) |
OCTAVE_API int | __lo_ieee_float_finite (float x) |
OCTAVE_API int | __lo_ieee_float_is_NA (float) |
OCTAVE_API int | __lo_ieee_float_isinf (float x) |
OCTAVE_API int | __lo_ieee_float_isnan (float x) |
OCTAVE_API int | __lo_ieee_float_signbit (float) |
OCTAVE_API int | __lo_ieee_is_NA (double) |
OCTAVE_API int | __lo_ieee_is_old_NA (double) |
OCTAVE_API int | __lo_ieee_isinf (double x) |
OCTAVE_API int | __lo_ieee_isnan (double x) |
OCTAVE_API double | __lo_ieee_replace_old_NA (double) |
OCTAVE_API int | __lo_ieee_signbit (double) |
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 | ) |
Definition at line 109 of file lo-ieee.h.
Referenced by octave_base_stream::do_numeric_printf_conv(), octave_is_NA(), octave_write_double(), and octave_write_float().
#define lo_ieee_is_NaN_or_NA | ( | x | ) |
#define lo_ieee_isinf | ( | x | ) |
Definition at line 105 of file lo-ieee.h.
Referenced by octave_base_stream::do_numeric_printf_conv(), F77_FUNC(), matrix_norm(), mxIsInf(), octave_write_double(), octave_write_float(), and xisinf().
#define lo_ieee_isnan | ( | x | ) |
Definition at line 101 of file lo-ieee.h.
Referenced by octave_float_complex::any(), octave_scalar::any(), octave_float_scalar::any(), octave_complex::any(), convert_to_valid_int(), F77_FUNC(), get_size(), mxIsNaN(), octave_write_double(), octave_write_float(), and xisnan().
#define LO_IEEE_NA_FLOAT 0x7FC207A2 |
Definition at line 67 of file lo-ieee.h.
Referenced by __lo_ieee_float_is_NA(), and octave_ieee_init().
#define LO_IEEE_NA_HW 0x7FF840F4 |
Definition at line 65 of file lo-ieee.h.
Referenced by __lo_ieee_is_NA(), and octave_ieee_init().
#define LO_IEEE_NA_HW_OLD 0x7ff00000 |
Definition at line 63 of file lo-ieee.h.
Referenced by __lo_ieee_is_old_NA().
#define LO_IEEE_NA_LW 0x40000000 |
Definition at line 66 of file lo-ieee.h.
Referenced by __lo_ieee_is_NA(), and octave_ieee_init().
#define LO_IEEE_NA_LW_OLD 1954 |
Definition at line 64 of file lo-ieee.h.
Referenced by __lo_ieee_is_old_NA().
#define lo_ieee_signbit | ( | x | ) |
Definition at line 113 of file lo-ieee.h.
Referenced by SparseMatrix::any_element_is_negative(), and pr_complex().
#define octave_Float_Inf (lo_ieee_float_inf_value ()) |
Definition at line 40 of file lo-ieee.h.
Referenced by bessel_return_value(), cbesk(), cbesy(), FloatMatrix::inverse(), FloatComplexMatrix::inverse(), rc_lgamma(), xgamma(), and xlgamma().
#define octave_Float_NA (lo_ieee_float_na_value ()) |
#define octave_Float_NaN (lo_ieee_float_nan_value ()) |
Definition at line 46 of file lo-ieee.h.
Referenced by bessel_return_value(), cbesi(), cbesj(), cbesy(), FloatMatrix::column_max(), FloatComplexMatrix::column_max(), FloatMatrix::column_min(), FloatComplexMatrix::column_min(), octave_rand::float_scalar(), FloatMatrix::row_max(), FloatComplexMatrix::row_max(), FloatMatrix::row_min(), FloatComplexMatrix::row_min(), signum(), and xgamma().
#define octave_Inf (lo_ieee_inf_value ()) |
Definition at line 31 of file lo-ieee.h.
Referenced by bessel_return_value(), SparseMatrix::dinverse(), SparseComplexMatrix::dinverse(), do_erfcinv(), do_erfinv(), SparseMatrix::dsolve(), SparseComplexMatrix::dsolve(), F77_FUNC(), Fnorm(), Fquadcc(), G__glpk__(), G__voronoi__(), array_property::get_data_limits(), axes::properties::get_extent(), Matrix::inverse(), ComplexMatrix::inverse(), max_axes_scale(), rc_lgamma(), Matrix::rcond(), FloatMatrix::rcond(), ComplexMatrix::rcond(), FloatComplexMatrix::rcond(), single_num(), axes::properties::translate_view(), axes::properties::update_aspectratios(), axes::update_axis_limits(), hggroup::update_axis_limits(), text::properties::update_position(), x_el_div(), xabs(), xgamma(), xlgamma(), zbesk(), zbesy(), and axes::properties::zoom_about_point().
#define octave_NA (lo_ieee_na_value ()) |
Definition at line 34 of file lo-ieee.h.
Referenced by G__glpk__(), lin_interpn(), and single_num().
#define octave_NaN (lo_ieee_nan_value ()) |
Definition at line 37 of file lo-ieee.h.
Referenced by bessel_return_value(), QtHandles::Canvas::canvasMousePressEvent(), Matrix::column_max(), ComplexMatrix::column_max(), Matrix::column_min(), ComplexMatrix::column_min(), property::create(), do_erfcinv(), do_erfinv(), octave_rand::do_float_scalar(), octave_sparse_params::do_get_key(), octave_rand::do_scalar(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), F__go_axes_init__(), F__go_delete__(), F__go_figure__(), Fquadcc(), Fstr2double(), gca(), gcf(), octave_sparse_params::get_key(), handle_property::invalidate(), LuAminusSigmaB(), make_graphics_object(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_initialize_interpreter(), Matrix::rcond(), FloatMatrix::rcond(), ComplexMatrix::rcond(), FloatComplexMatrix::rcond(), reparent(), Matrix::row_max(), ComplexMatrix::row_max(), Matrix::row_min(), ComplexMatrix::row_min(), octave_rand::scalar(), octave_rand::seed(), base_properties::set_parent(), signum(), single_num(), str2double1(), x_el_div(), xgamma(), zbesi(), zbesj(), and zbesy().
Definition at line 61 of file lo-ieee.cc.
Definition at line 156 of file lo-ieee.cc.
References __lo_ieee_float_isnan().
Definition at line 178 of file lo-ieee.cc.
References __lo_ieee_float_isnan(), LO_IEEE_NA_FLOAT, lo_ieee_float::value, lo_ieee_float::word, and x.
Definition at line 167 of file lo-ieee.cc.
Definition at line 145 of file lo-ieee.cc.
Referenced by __lo_ieee_float_finite(), and __lo_ieee_float_is_NA().
Definition at line 210 of file lo-ieee.cc.
Referenced by xnegative_sign().
Definition at line 83 of file lo-ieee.cc.
References __lo_ieee_isnan(), LO_IEEE_NA_HW, LO_IEEE_NA_LW, lo_ieee_double::value, lo_ieee_double::word, and x.
Definition at line 92 of file lo-ieee.cc.
References __lo_ieee_isnan(), 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 convert_and_copy().
Definition at line 72 of file lo-ieee.cc.
Definition at line 50 of file lo-ieee.cc.
Referenced by __lo_ieee_is_NA(), and __lo_ieee_is_old_NA().
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().
Definition at line 134 of file lo-ieee.cc.
Referenced by xnegative_sign().
OCTAVE_API 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().
OCTAVE_API 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().
OCTAVE_API float lo_ieee_float_nan_value | ( | void | ) |
Definition at line 202 of file lo-ieee.cc.
References lo_float_nan, and octave_ieee_init().
Referenced by octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_range::float_complex_value(), octave_base_value::float_complex_value(), octave_char_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), OCTAVE_VALUE_INT_MATRIX_T::float_value(), octave_perm_matrix::float_value(), octave_base_diag< DMT, MT >::float_value(), octave_bool_matrix::float_value(), octave_float_matrix::float_value(), octave_matrix::float_value(), octave_range::float_value(), octave_base_value::float_value(), and FNaN().
OCTAVE_API 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().
OCTAVE_API 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().
OCTAVE_API double lo_ieee_nan_value | ( | void | ) |
Definition at line 126 of file lo-ieee.cc.
References lo_nan, and octave_ieee_init().
Referenced by octave_sparse_bool_matrix::complex_value(), octave_sparse_complex_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_matrix::complex_value(), octave_range::complex_value(), octave_base_value::complex_value(), octave_char_matrix::double_value(), octave_float_complex_matrix::double_value(), OCTAVE_VALUE_INT_MATRIX_T::double_value(), octave_complex_matrix::double_value(), octave_sparse_bool_matrix::double_value(), octave_sparse_complex_matrix::double_value(), octave_sparse_matrix::double_value(), octave_perm_matrix::double_value(), octave_bool_matrix::double_value(), octave_base_diag< DMT, MT >::double_value(), octave_float_matrix::double_value(), octave_matrix::double_value(), octave_range::double_value(), octave_base_value::double_value(), ellipj(), Feps(), Fgetrusage(), FNaN(), Ftsearch(), mxGetNaN(), and NDArray::NDArray().
OCTAVE_API void octave_ieee_init | ( | void | ) |
Definition at line 221 of file lo-ieee.cc.
References oct_mach_info::flt_fmt_ieee_big_endian, oct_mach_info::flt_fmt_ieee_little_endian, lo_ieee_hw, lo_ieee_lw, LO_IEEE_NA_FLOAT, LO_IEEE_NA_HW, LO_IEEE_NA_LW, oct_mach_info::native_float_format(), lo_ieee_double::value, lo_ieee_float::value, lo_ieee_double::word, and lo_ieee_float::word.
Referenced by lo_ieee_float_inf_value(), lo_ieee_float_na_value(), lo_ieee_float_nan_value(), lo_ieee_inf_value(), lo_ieee_na_value(), lo_ieee_nan_value(), and octave_initialize_interpreter().