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 > Number of bits ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 28 Topic 24993 of 27670
Post > Topic >>

Number of bits in C99 float types?

by Dom Fulton <wes104@[EMAIL PROTECTED] > Mar 17, 2008 at 08:13 PM

Has anyone got a mechanism for finding the number of bits in floats,
doubles, and long doubles? I need this to communicate with some
hardware.

I guess I could try to deduce this from float.h, but that looks
difficult.

I don't mind something which is system-specific; the older gccs had
various defines in cpu_limits.h and related files, but I can't find
anything in later gccs.

Thanks -

Dom
 




 28 Posts in Topic:
Number of bits in C99 float types?
Dom Fulton <wes104@[EM  2008-03-17 20:13:21 
Re: Number of bits in C99 float types?
Harald van =?UTF-8?b?RMSz  2008-03-17 21:16:44 
Re: Number of bits in C99 float types?
Dom Fulton <wes104@[EM  2008-03-17 20:49:51 
Re: Number of bits in C99 float types?
jacob navia <jacob@[EM  2008-03-17 21:56:45 
Re: Number of bits in C99 float types?
Eric Sosman <Eric.Sosm  2008-03-17 17:12:21 
Re: Number of bits in C99 float types?
jacob navia <jacob@[EM  2008-03-17 22:29:08 
Re: Number of bits in C99 float types?
santosh <santosh.k83@[  2008-03-18 03:19:38 
Re: Number of bits in C99 float types?
Eric Sosman <Eric.Sosm  2008-03-17 18:08:16 
Re: Number of bits in C99 float types?
Dom Fulton <wes104@[EM  2008-03-17 23:13:49 
Re: Number of bits in C99 float types?
jacob navia <jacob@[EM  2008-03-18 00:20:15 
Re: Number of bits in C99 float types?
santosh <santosh.k83@[  2008-03-18 04:58:16 
Re: Number of bits in C99 float types?
jacob navia <jacob@[EM  2008-03-18 00:32:24 
Re: Number of bits in C99 float types?
Keith Thompson <kst-u@  2008-03-18 09:48:42 
Re: Number of bits in C99 float types?
ymuntyan@[EMAIL PROTECTED  2008-03-17 18:16:56 
Re: Number of bits in C99 float types?
user923005 <dcorbit@[E  2008-03-17 18:41:40 
Re: Number of bits in C99 float types?
ymuntyan@[EMAIL PROTECTED  2008-03-17 20:59:40 
Re: Number of bits in C99 float types?
"christian.bau"  2008-03-18 11:06:52 
Re: Number of bits in C99 float types?
Ian Collins <ian-news@  2008-03-18 09:17:21 
Re: Number of bits in C99 float types?
Harald van =?UTF-8?b?RMSz  2008-03-17 22:06:40 
Re: Number of bits in C99 float types?
Harald van =?UTF-8?b?RMSz  2008-03-17 22:09:38 
Re: Number of bits in C99 float types?
Keith Thompson <kst-u@  2008-03-18 09:40:17 
Re: Number of bits in C99 float types?
Dom Fulton <wes104@[EM  2008-03-18 10:50:49 
Re: Number of bits in C99 float types?
santosh <santosh.k83@[  2008-03-18 18:06:22 
Re: Number of bits in C99 float types?
Eric Sosman <esosman@[  2008-03-18 09:33:49 
Re: Number of bits in C99 float types?
Ben Bacarisse <ben.use  2008-03-18 11:48:16 
Re: Number of bits in C99 float types?
Harald van =?UTF-8?b?RMSz  2008-03-18 18:33:38 
Re: Number of bits in C99 float types?
santosh <santosh.k83@[  2008-03-19 00:36:37 
Re: Number of bits in C99 float types?
Keith Thompson <kst-u@  2008-03-18 23:34:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Oct 10 22:10:14 CDT 2008.