Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 1998 18:54:53 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        "Neil A. Carson" <neil@causality.com>
Cc:        bugs@FreeBSD.ORG
Subject:   Re: Floating point errors 
Message-ID:  <23102.888029693@time.cdrom.com>
In-Reply-To: Your message of "Sat, 21 Feb 1998 02:37:20 GMT." <34EE3DDF.4DA0099A@causality.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I've ben trying to execute some pattern recognition software that we are
> trying to evaluate on different OS/system architectures for an acedemic
> client. Although it runs fine on NetBSD, and other unix OSs, on FreeBSD
> it dies with a floating point exception for some reason. Annoying :-)

Yes.  Bruce, our FP guru, has long felt that it's more important to be
technically correct and die rather than run incorrectly, and he fights
back vigorously every time we talk about changing the default setting
of the FPE mask. :-)

> I wonder if this is a problem with not cancelling the relevant bits by
> default in the FP exception mask; we had this problem when we ported
> NetBSD to the ARM, and although it was 'technically correct' to have the
> system throwing a wobbly at everything, in the end we changed it and
> disabled some stuff due to it annoying too many people.

Naw, we just annoy people around here. ;-)

In any case, you can always add an fpsetmask() call to your main()
function and mask the appropriate exceptions in order to get your
software running.

					Jordan

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?23102.888029693>