Data Types
Representation of Reals
1800-2012 specifies that real
and shortreal
are the same as C language double
and float
respectively.
In a footnote, it "clarifies" that these types are represented using IEEE-754. These statements are potentially contradictory, as there is computer hardware for which C compilers exist, but does not support IEEE-754.
Fortunately, all of the platforms on which DSim exists or is contemplated do support IEEE-754 in hardware, and have the C ABI specify that IEEE-754 is indeed used.
chandle Data Type
The internal representation of a chandle
is equivalent to a raw (void) pointer on all platforms.