Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
sci.math.*
»
sci.math.numanalysis
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
forcing intel floating registers to use 64bit arithmetic
Replies:
5
Last Post:
Feb 3, 2013 10:48 PM




Re: forcing intel floating registers to use 64bit arithmetic
Posted:
Jan 13, 2013 4:43 PM


Tom Stockfisch <tomstockfisch@gmail.com> schrieb: > I need to force all double precision calculations to proceed strictly in 64bit  no 80bit > intel register arithmetic. Can someone tell me the current function calls or > command line settings to achieve this on both MacOS and linux?
You can
a) not use Intel or 680xx processors (ok, the Mac you'll have to use will be rather old :)
b) Run in 64bit mode  the x86_64 programs don't use the old 80bit registers.
c) This becomes compiler dependent; with gcc, use ffloatstore and make sure to use lots of intermediate variables.



