diff liboctave/lo-ieee.cc @ 7814:87865ed7405f

Second set of single precision test code and fix of resulting bugs
author David Bateman <dbateman@free.fr>
date Mon, 02 Jun 2008 16:57:45 +0200
parents 82be108cc558
children 090001c04619
line wrap: on
line diff
--- a/liboctave/lo-ieee.cc
+++ b/liboctave/lo-ieee.cc
@@ -137,7 +137,10 @@
 
 	octave_Float_NaN = float_tmp_inf / float_tmp_inf;
 	octave_Float_Inf = float_tmp_inf;
-	octave_Float_NA = LO_IEEE_NA_FLOAT;
+
+	lo_ieee_float tf;
+	tf.word = LO_IEEE_NA_FLOAT;
+	octave_Float_NA = tf.value;
       }
       break;