Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Sep 1997 21:38:51 +0200
From:      Kent Boortz <kentb@canit.se>
To:        freebsd-hackers@freebsd.org
Subject:   fpresetsticky, fpsetmask
Message-ID:  <3415A5CB.3AA23825@canit.se>

next in thread | raw e-mail | index | archive | help
I have read the man page and done some experiments but can't
quite understand the logic.

If I want all errors like overflow, underflow and divide by zero
result in an excdeption, I set the bits in 'fpsetmask()', right?

But how does this 'fpresetsticky()' come into the picture? Could
you please clearify how this works?

I also read a note in mailing list that I "think" claimed that
enabling a signal on floating point divide by zero also would
trap integer divide by zero that doesn't restart correctly,
causing an infinite loop. Is this true?

And last, is this 'fpsetmask()'/'fresetsticky()' the same in
other flawors of BSD?

/kgb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3415A5CB.3AA23825>