26 #if defined (HAVE_CONFIG_H)
43 static float lo_float_inf;
44 static float lo_float_nan;
45 static float lo_float_na;
47 static int lo_ieee_hw;
48 static int lo_ieee_lw;
50 #if defined (HAVE_MIPS_NAN)
51 #define LO_IEEE_NA_HW 0x7FF040F4
53 #define LO_IEEE_NA_HW 0x7FF840F4
55 #define LO_IEEE_NA_LW 0x40000000
56 #define LO_IEEE_NA_FLOAT 0x7FC207A2
126 static bool initialized =
false;
137 lo_nan = std::numeric_limits<double>::quiet_NaN ();
138 lo_inf = std::numeric_limits<double>::infinity ();
140 lo_float_nan = std::numeric_limits<float>::quiet_NaN ();
141 lo_float_inf = std::numeric_limits<float>::infinity ();
165 lo_float_na = tf.
value;
178 (*current_liboctave_error_handler)
179 (
"lo_ieee_init: floating point format is not IEEE! Maybe DLAMCH is miscompiled, or you are using some strange system without IEEE floating point math?");
int __lo_ieee_float_is_NA(float x)
double lo_ieee_na_value()
float lo_ieee_float_nan_value()
float lo_ieee_float_na_value()
int __lo_ieee_is_NA(double x)
double lo_ieee_nan_value()
float lo_ieee_float_inf_value()
double lo_ieee_inf_value()
int __lo_ieee_float_isnan(float x)
int __lo_ieee_isnan(double x)
F77_RET_T const F77_DBLE * x
float_format native_float_format()
@ flt_fmt_ieee_big_endian
@ flt_fmt_ieee_little_endian