Initializing floating point types with explicit mantisa and exponent

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 16 16:08:24 PST 2017


How do I best initialize a D double to an exact mantissa and 
exponent representation?

I'm specifically interested in

     2^^i for all i in [min_exp, max_exp]


More information about the Digitalmars-d-learn mailing list