Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 16:14:53 +0800 (HKT)
From:      "c5666305" <c5666305@comp.polyu.edu.hk>
To:        freebsd-current@FreeBSD.ORG
Subject:   floating porint exception error
Message-ID:  <199804300814.QAA12446@cssolar82.COMP.HKP.HK>

next in thread | raw e-mail | index | archive | help
Hello,

I recent encounter an error which I don't know how to fix it.  It is an
MesaGL/GLUT application which halt at a statement as following:

static int
func(int n)
{
return 0.001 + M_PI / asin((2 * n));
}

The error is floating point exception (core dump).  The same program work
okay under netbsd 1.3E.  However it cannot be run under FreeBSD 2.2.6 and
break at return 0.001 + ..... Any idea ?  Thanks.

Clarence

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



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