<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Have a look at <stdint.h> for
integer types. This should be a part of your standard library for
any C99-compliant compilers. For Windows, they're included in
MSVC2012 onwards.<br>
<br>
float and double are always defined to be 32- and 64-bit,
respectively. Beyond that you're in a platform-specific extension
area. See, for example:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html">http://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html</a><br>
<br>
- ½<br>
<br>
On 13-11-10 10:38 AM, Mehmet Erol Sanliturk wrote:<br>
</div>
<blockquote
cite="mid:CAOgwaMuBDEOYoSi=eWifVxLkHa2+fTo+ddjEo3w7HA8F8RDUxg@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
Dears All ,<br>
<br>
<br>
It seems that , in Clang , there is no a type system like the
following :<br>
<br>
<br>
Integer_8_Bits_Positive <br>
Integer_8_Bits_Signed<br>
<br>
<br>
<br>
Integer_16_Bits_Positive <br>
Integer_16_Bits_Signed<br>
<br>
<br>
<br>
Integer_32_Bits_Positive <br>
Integer_32_Bits_Signed<br>
<br>
<br>
Integer_64_Bits_Positive <br>
Integer_64_Bits_Signed<br>
<br>
<br>
<br>
<br>
Float_48_Bits<br>
Float_64_Bits<br>
Float_80_Bits<br>
Float_128_Bits<br>
<br>
<br>
The following are defined with respect to above types AND
Operating System , <br>
Processor requirements to enable to compile the SAME sources for
different<br>
environments :<br>
<br>
Integer_Default_Bits_Positive <br>
Integer_Default_Bits_Signed<br>
<br>
Float_Default_Bits<br>
<br>
<br>
The existing definitions ( long , long long , etc. ) are very
ambiguous and<br>
depending on the platform without clearly showing exact bits
number . <br>
<br>
<br>
<br>
Is there a possibility to include definitions such as above into
Clang<br>
or , if there exist such a definition , what is its name ?<br>
<br>
<br>
Thank you very much .<br>
<br>
Mehmet Erol Sanliturk<br>
<br>
<br>
<br>
<br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>