This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
128 bit floating point arithmetic
- From: "Jiri Hladky" <hladky dot jiri at seznam dot cz>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 16 Feb 2004 17:53:18 +0100
- Subject: 128 bit floating point arithmetic
- Reply-to: hladky dot jiri at seznam dot cz
Hello,
I would like to use 128-bits floating point arithmetic on my
Pentium 4 Linux machine. Does gcc support it? I have tried to
use the flags
-march=pentium4 -mcpu=pentium4 -mfpmath=sse
-m128bit-long-double
but the precision of floating point numbers of type "long
double" is just 80 bits. Could anybody kindly point me to C
source code together with gcc compile flags to do basic
computation (addition and multiplication) with 128 bits
precision floating point numbers?
Also, are there any plans to implement 128 bits transcendent
functions like sin and exp?
I would highly appreciate any help on this.
Thank you very much!
Jirka