comparison 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
comparison
equal deleted inserted replaced
22072:7680225527ef 22073:d18c63a45070
26 26
27 #include "octave-config.h" 27 #include "octave-config.h"
28 28
29 #include <cstdlib> 29 #include <cstdlib>
30 30
31 #include <iosfwd>
31 #include <limits> 32 #include <limits>
32 #include <iosfwd> 33
33
34 #include "lo-traits.h"
35 #include "lo-math.h" 34 #include "lo-math.h"
36 #include "lo-mappers.h" 35 #include "lo-mappers.h"
36 #include "lo-traits.h"
37 37
38 template <typename T> class octave_int; 38 template <typename T> class octave_int;
39 39
40 typedef octave_int<int8_t> octave_int8; 40 typedef octave_int<int8_t> octave_int8;
41 typedef octave_int<int16_t> octave_int16; 41 typedef octave_int<int16_t> octave_int16;