Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > Re: floating po...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 827 of 1161
Post > Topic >>

Re: floating point control bits vs. status flags

by richard.kreckel@[EMAIL PROTECTED] Nov 7, 2006 at 07:10 AM

P.J. Plauger wrote:
> fesetexceptflag sets bits in the floating-point status ****tion of
> the floating-point control. fesettrapenable sets the current
> floating-point enable mask. What do you think is missing?

My copy of the C99 standard does not contain the string
fesettrapenable. The GNU library has a different extension called int
feenableexcept(int) for enabling certain exceptions. Also, the man page
fenv(3) on my Debian Linux box confirms that "the C99 standard does not
define a  way to set individual bits in the floating point mask, e.g.
to trap on specific flags."

Regards
  -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>
-- 
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
 -- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line.  Sorry.
 




 2 Posts in Topic:
Re: floating point control bits vs. status flags
richard.kreckel@[EMAIL PR  2006-11-07 07:10:35 
Re: floating point control bits vs. status flags
"P.J. Plauger"   2006-11-10 23:28:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 8:28:42 CDT 2008.