From owner-freebsd-doc Wed Jul 15 22:14:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA14900 for freebsd-doc-outgoing; Wed, 15 Jul 1998 22:14:34 -0700 (PDT) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA14889; Wed, 15 Jul 1998 22:14:30 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id WAA00995; Wed, 15 Jul 1998 22:13:11 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Joseph Koshy cc: andrsn@andrsn.Stanford.edu, freebsd-doc@FreeBSD.ORG Subject: Re: Linux-FreeBSD Q&A In-reply-to: Your message of "Wed, 15 Jul 1998 18:42:13 PDT." <199807160142.SAA22565@hub.freebsd.org> Date: Wed, 15 Jul 1998 22:13:11 -0700 Message-ID: <991.900565991@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Numerical programs using floating point may sometimes show different > behaviour; FreeBSD does not by default mask off floating point exception > conditions like numeric underflow or loss of precision and will attempt to You might also reference fpsetmask(3) somewhere in this to give the Linux porter a chance to simply work-around the problem; all they need to do is call fpsetmask(0L) as the first thing in main() and they can get "the linux behavior." The rest looks fine to me! - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message