digitalmars.D.learn - C equivalent for the D "float" type
- TSalm (4/4) Sep 18 2009 Hello,
- div0 (16/22) Sep 18 2009 -----BEGIN PGP SIGNED MESSAGE-----
- TSalm (1/5) Sep 18 2009 Thanks !
- Jeremie Pelletier (5/13) Sep 20 2009 Most of the time you'll see D's real type to be declared as 'long
Hello, What is the C equivalent for the D "float" type ? Thanks in advance, TSalm
Sep 18 2009
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 TSalm wrote:Hello, What is the C equivalent for the D "float" type ? Thanks in advance, TSalmfloat and double is double. in c, real support is compiler dependant, it may or may not be available. - -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.uk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKs/YuT9LetA9XoXwRAg5jAJ98cKfmnt2XfFFODbqbG0CzjN78xACeNWkQ bLYQ4yOZKLSmn8ZNvXXGCX4= =YvgC -----END PGP SIGNATURE-----
Sep 18 2009
Thanks !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.
Sep 18 2009
TSalm wrote: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).Thanks !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.
Sep 20 2009