D Documentation  
Floatingpoint data types
All floatingpoint data types can be used for signed numbers.
The default initialisied value is NaN, NaN * 1.0i (for imaginary) or NaN+NaN * 1.0i (for complex)

Note: Real implementation on Intel CPUs is 80 bits.

float f;    // 32 bit floating point
double d;   // 64 bit floating point
real r;     // largest hardware implemented floating point

ifloat if;  //imaginary float
idouble id; // imaginary double
ireal ir;   // imaginary real

cfloat cf;  // complex number of two float values
cdouble cd; // complex double
creal cr;   // complex real
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.