Types, Operators and Expressions

compared with
Current by Jeff_Trawick_Sun
on Feb 17, 2009 04:33.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View page history
|{{uintptr_t}}|Unsigned integer of size equal to a pointer|
These type aliases are equivalent to using the name of the corresponding base type in the previous table and are appropriately defined for each data model. For example, the type name {{uint8_t}} is an alias for the type {{unsigned char}}. See [Chapter 8, Type and Constant Definitions|Type and Constant Definitions] for information on how to define your own type aliases for use in your D programs. Note: The predefined type aliases cannot be used in files included by the preprocessor.

D provides floating-point types for compatibility with ANSI-C declarations and types. Floating-point operators are not supported in D, but floating-point data objects can be traced and formatted using the {{printf}} function. The floating-point types listed in the following table may be used:

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact