Separate Printing Mantissa and Exponent of a Floating Point

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 11 14:24:05 PDT 2014


On Monday, 11 August 2014 at 15:30:30 UTC, Justin Whear wrote:
> 1. http://dlang.org/phobos/std_bitmanip.html#.FloatRep

I'm lacking a use case. See 
http://dlang.org/library/std/bitmanip/FloatRep.html

Is unsafe

     *(cast(FloatRep*)&float_instance)

the only way to use this?


More information about the Digitalmars-d-learn mailing list