From owner-freebsd-questions Fri Jan 9 09:31:57 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA20333 for questions-outgoing; Fri, 9 Jan 1998 09:31:57 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA20328 for ; Fri, 9 Jan 1998 09:31:52 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.8.8/8.8.3) id MAA01346; Fri, 9 Jan 1998 12:31:17 -0500 (EST) Message-ID: <19980109123116.31761@emu.sourcee.com> Date: Fri, 9 Jan 1998 12:31:16 -0500 From: Norman C Rice To: Yingjun He Cc: freebsd-questions@FreeBSD.ORG Subject: Re: your mail References: <3.0.1.32.19980109091508.00969330@newton.ccs.tuns.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <3.0.1.32.19980109091508.00969330@newton.ccs.tuns.ca>; from Yingjun He on Fri, Jan 09, 1998 at 09:15:08AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Jan 09, 1998 at 09:15:08AM +0000, Yingjun He wrote: > Hello, > > I am running FreeBSD2.25 and 2.05 and I found that the numerical calculation > results of the same program is different. Is this caused by the difference of > the operating systems? Or something wrong with my hardware? > > Thank you. > ______________________________________________ > | Dr. Ian (Yingjun) He | > _ | Centre for Marine Vessel Design & Research | _ > / )| Dalhousie University, DelTech College |( \ > / / | Halifax, Nova Scotia, Canada B3J 2X4 | \ \ > _( (_ | Phone: (902)420-7975 | _) )_ > (((\ \>|_/-) Fax : (902)423-9734 (-\_| (\\\\ \_/ /________________________________________\ \_/ ////) > \ / Email: hey@tuns.ca \ / > \ _/ WWW : http://www.tuns.ca/~hey \_ / > ////// ========================================== \\\\\\ What hardware are you using on each system (processor and floating point unit)? Are you using the same executable on both systems? Are you using floating point emulation? What is the calculation? If you are using floating point emulation, which type are you using on each system? Here is an excerpt from the LINT kernel configuration file from a FreeBSD 2.2.5-STABLE system. # # A math emulator is mandatory if you wish to run on hardware which # does not have a floating-point processor. Pick either the original, # bogus (but freely-distributable) math emulator, or a much more # fully-featured but GPL-licensed emulator taken from Linux. # options MATH_EMULATE #Support for x87 emulation # Don't enable both of these in a real config. options GPL_MATH_EMULATE #Support for x87 emulation via #new math emulator -- Regards, Norman C. Rice, Jr.