CTFE pow()

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 2 14:47:01 PST 2015


"Dominikus Dittes Scherkl"  wrote in message 
news:edmacskcgtkzovhyejop at forum.dlang.org...

> Why?
> long has 64 bit, which is enough to represent the mantissa of 80bit reals. 
> So you need only an additional short to hold the exponent.

Because only casts from float <-> integer where sizeof(src) == sizeof(dest) 
are currently supported, and there is no 80-bit integral type. 



More information about the Digitalmars-d mailing list