On Tuesday, 17 January 2017 at 00:08:24 UTC, Nordlöw wrote:
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]

This mach module can do the job: https://github.com/pineapplemachine/mach.d/blob/master/mach/math/floats/inject.d

Reply via email to