Mercurial > jwe > octave
diff liboctave/util/oct-inttypes.h @ 22073:d18c63a45070
wrappers for setting long double rounding mode (bug #48319)
* fpucw-wrappers.c: Rename from fpucw-wrapper.c.
* fpucw-wrappers.h: Rename from fpucw-wrapper.h. Change all uses.
* liboctave/wrappers/module.mk: Update.
* fpucw-wrappers.h, fpucw-wrappers.c
(octave_begin_long_double_rounding, octave_end_long_double_rounding):
New functions.
* oct-inttypes.cc: Use wrapper functions from fpucw-wrappers.h instead
of instead of macros from fpucw.h.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 07 Jul 2016 18:24:50 -0400 |
parents | 278fc29b69ca |
children | 35c0ad43c7a5 |
line wrap: on
line diff
--- a/liboctave/util/oct-inttypes.h Thu Jul 07 16:27:21 2016 -0400 +++ b/liboctave/util/oct-inttypes.h Thu Jul 07 18:24:50 2016 -0400 @@ -28,12 +28,12 @@ #include <cstdlib> +#include <iosfwd> #include <limits> -#include <iosfwd> -#include "lo-traits.h" #include "lo-math.h" #include "lo-mappers.h" +#include "lo-traits.h" template <typename T> class octave_int;