Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!fu-berlin.de!sirius.physik.fu-berlin.DE!not-for-mail
From: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: what does fpsetmask(0) ?
Date: 24 Jul 1995 13:25:15 GMT
Organization: Freie Universitaet Berlin
Lines: 22
Message-ID: <3v06vr$a93@fu-berlin.de>
NNTP-Posting-Host: sirius.physik.fu-berlin.de (130.133.3.140)
X-Access: 16 17 18
X-Newsreader: TIN [version 1.2 PL2]
can anybody explain me what fpsetmask(0) exactly does - i had a problem with
floating-point exeptions which gave me some hours of debugging until i
remembered a posting from joerg wunsch who said
#include <floatingpoint.h>
and
fpsetmask(0);
in the program - which solved my problem - what exactly does this (he said
it is a hack - but what kind of hack ?)
thanks in advance - t
_______________________________________________________||_____________________
__||
Perfection is reached, not when there is no __|| thomas graichen
longer anything to add, but when there __|| freie universitaet berlin
is no longer anything to take away __|| fachbereich physik
__||
- Antoine de Saint-Exupery - __||
___________________________||____email: graichen@omega.physik.fu-berlin.de____