Messages in this thread | | | Subject | Re: Why all glibc2 programs are FPU programs | From | Ulrich Drepper <> | Date | 27 May 1998 19:09:18 -0700 |
| |
"Adam J. Richter" <adam@yggdrasil.com> writes:
> On x86 On one other linux port? > Is the default floating point mode > different from IEEE? ? ?
For Intel the kernel use s0x37f, libc uses now 0x137f which is indeed IEEE. But there are some other value used, as mentioned several times now, for using 53bit mantissa. This would be 0x127f.
For other platforms it'll become also important. Alpha has different modes the FPU can run in and the PPC processors as well.
> In light of the answer to the first question, ? ? > is being able to override fpu_control at > link time important?
For all platforms it important since a whole program can be written with a different FPU mode in mind. Using th -lieee trck is the usual way to solve this problem.
-- Uli ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |