C equivalent for the D "float" type
Jeremie Pelletier
jeremiep at gmail.com
Sun Sep 20 09:50:40 PDT 2009
TSalm wrote:
>>> What is the C equivalent for the D "float" type ?
>>
>> float and double is double.
>>
>> in c, real support is compiler dependant, it may or may not
>> be available.
>>
> Thanks !
Most of the time you'll see D's real type to be declared as 'long
double' in C/C++, some compilers such as VC++ understand it to be
syntactically different from 'double' but implement it using the same
semantics (ie, 64bits).
More information about the Digitalmars-d-learn
mailing list