Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2001 14:02:39 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Jim Pirzyk <Jim.Pirzyk@disney.com>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/28966: math libraries in linux emulation do not return same results
Message-ID:  <20010715140239.A59228@walton.maths.tcd.ie>
In-Reply-To: <200107142310.f6ENA3099049@freefall.freebsd.org>; from Jim.Pirzyk@disney.com on Sat, Jul 14, 2001 at 04:10:03PM -0700
References:  <200107142310.f6ENA3099049@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 14, 2001 at 04:10:03PM -0700, Jim Pirzyk wrote:
>  > Did you try playing with fpgetround/fpsetround or any of the related
>  > functions on the same man page? I'd suspect you could find out what's
>  > going on with them.
>  
>  I just tried them and I see the FreeBSD box is set to 53 bit precision,
>  but the problem is that these functions do not exist on Linux.  This
>  means I cannot compile the program to test what the precision is
>  under linux emulation.  The problem I have is that the linux binaries
>  running under freebsd gives a different result that the freebsd binary
>  or the linux binary under linux.

They are actually asm inlines from /usr/include/machine/floatingpoint.h,
so you could cut and paste them into your program.

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010715140239.A59228>