Mercurial > octave-nkf
diff liboctave/mx-inlines.cc @ 9766:82fe4db20dec
fix bad FLOAT_TRUNCATE in mx-inlines.cc
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 02 Nov 2009 07:16:30 +0100 |
parents | 26abff55f6fe |
children | ef4c4186cb47 |
line wrap: on
line diff
--- a/liboctave/mx-inlines.cc Sun Nov 01 13:59:19 2009 -0500 +++ b/liboctave/mx-inlines.cc Mon Nov 02 07:16:30 2009 +0100 @@ -1249,7 +1249,7 @@ inline void twosum_accum (T& s, T& e, const T& x) { - FLOAT_TRUNCATE T s1 = s + x, t = s1 - s, e1 = (s - (s1 - t)) + (x - t); + T s1 = s + x, t = s1 - s, e1 = (s - (s1 - t)) + (x - t); s = s1; e += e1; }