Searched defs:x86_rounding (Results 1 – 3 of 3) sorted by relevance
39 struct x86_rounding struct41 static unsigned int hard2msvc(unsigned short m) { in hard2msvc()64 static unsigned short msvc2hard(unsigned int n) { in msvc2hard()87 typedef unsigned short rounding_mode;88 static void get_rounding_mode(rounding_mode& mode) in get_rounding_mode()90 static void set_rounding_mode(const rounding_mode mode) in set_rounding_mode()105 static double to_int(const double& x) { return rint(x); } in to_int()
27 struct x86_rounding struct29 typedef unsigned short rounding_mode;31 static void set_rounding_mode(const rounding_mode& mode) in set_rounding_mode()34 static void get_rounding_mode(rounding_mode& mode) in get_rounding_mode()38 static T to_int(T r) in to_int()
42 struct x86_rounding struct44 typedef unsigned int rounding_mode;45 static void get_rounding_mode(rounding_mode& mode) in get_rounding_mode()47 static void set_rounding_mode(const rounding_mode mode) in set_rounding_mode()49 static double to_int(const double& x) { return rint(x); } in to_int()