From owner-freebsd-bugs Sun Jul 15 6: 2:43 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 7F07037B403 for ; Sun, 15 Jul 2001 06:02:40 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 15 Jul 2001 14:02:39 +0100 (BST) Date: Sun, 15 Jul 2001 14:02:39 +0100 From: David Malone To: Jim Pirzyk 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> References: <200107142310.f6ENA3099049@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107142310.f6ENA3099049@freefall.freebsd.org>; from Jim.Pirzyk@disney.com on Sat, Jul 14, 2001 at 04:10:03PM -0700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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