This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30599] long double declaration rounds to double instead
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2007 23:32:09 -0000
- Subject: [Bug target/30599] long double declaration rounds to double instead
- References: <bug-30599-12761@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from dannysmith at users dot sourceforge dot net 2007-06-20 23:32 -------
(In reply to comment #6)
> Anybody have enough __asm__ foo to write a inline assembly macro taking a long
> double operand and returning one, which I can use to call fsqrt directly in
> inline assembly?
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/mingwex/math/sqrtl.c?cvsroot=src
should help. You could use __builtin_nan to replace the external reference
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30599