Subject: CGAL users discussion list
List archive
- From: marcosscriven <>
- To:
- Subject: [cgal-discuss] Re: Rounding mode (as specified in FPU.h)
- Date: Thu, 28 Feb 2013 11:31:39 -0800 (PST)
Gosh - that was a quick reply!
I did see the feget/setround option in FPU.h. The trouble is, finding an
*implementation* of that.
It seems to be in a system header called /usr/include/fenv.h, and is not
inline. It's therefore in the library files, which of course I can't include
in Javascript.
Emscripten has its own implementation of libc and libcxx:
https://github.com/kripken/emscripten/tree/master/system/include/libcxx
And this issue of what to do about rounding modes in that implementation has
been discussed here (regarding another project):
https://github.com/kripken/emscripten/issues/540
Regarding IA_force_to_double, I've already dropped that, since when
compiling with Emscripten we undefine the __GNUG macro (for just that
reason).
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Rounding-mode-as-specified-in-FPU-h-tp4656800p4656802.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Rounding mode (as specified in FPU.h), marcosscriven, 02/28/2013
- Re: [cgal-discuss] Rounding mode (as specified in FPU.h), Marc Glisse, 02/28/2013
- [cgal-discuss] Re: Rounding mode (as specified in FPU.h), marcosscriven, 02/28/2013
- Re: [cgal-discuss] Re: Rounding mode (as specified in FPU.h), Marc Glisse, 02/28/2013
- [cgal-discuss] Re: Rounding mode (as specified in FPU.h), marcosscriven, 02/28/2013
- Re: [cgal-discuss] Re: Rounding mode (as specified in FPU.h), Marc Glisse, 02/28/2013
- [cgal-discuss] Re: Rounding mode (as specified in FPU.h), marcosscriven, 02/28/2013
- Re: [cgal-discuss] Re: Rounding mode (as specified in FPU.h), Marc Glisse, 02/28/2013
- [cgal-discuss] Re: Rounding mode (as specified in FPU.h), marcosscriven, 02/28/2013
- Re: [cgal-discuss] Re: Rounding mode (as specified in FPU.h), Marc Glisse, 02/28/2013
- [cgal-discuss] Re: Rounding mode (as specified in FPU.h), marcosscriven, 02/28/2013
- Re: [cgal-discuss] Re: Rounding mode (as specified in FPU.h), Marc Glisse, 02/28/2013
- [cgal-discuss] Re: Rounding mode (as specified in FPU.h), marcosscriven, 02/28/2013
- Re: [cgal-discuss] Rounding mode (as specified in FPU.h), Marc Glisse, 02/28/2013
Archive powered by MHonArc 2.6.18.