Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 12:04:40 +0200
From:      Philippe Regnauld <regnauld@deepo.prosa.dk>
To:        c5666305 <c5666305@comp.polyu.edu.hk>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: floating porint exception error
Message-ID:  <19980430120440.09104@deepo.prosa.dk>
In-Reply-To: <199804300814.QAA12446@cssolar82.COMP.HKP.HK>; from c5666305 on Thu, Apr 30, 1998 at 04:14:53PM %2B0800
References:  <199804300814.QAA12446@cssolar82.COMP.HKP.HK>

next in thread | previous in thread | raw e-mail | index | archive | help
c5666305 writes:
> 
> 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));
> }

	1) quick hack:  
		   #include <floatingpoint.h>

		   fpsetmask(0L);

	2) long term: notify the author.

	I had this problem with MoonLight 0.4.2.

-- 
 -[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]-
     «Pluto placed his bad dog at the entrance of Hades to keep the dead
      IN and the living  OUT!  The archetypical corporate firewall?»
                                                       - S. Kelly Bootle

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