a way to specily floating-point numbers as bit patters

Honey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 9 10:39:03 PDT 2017


On Friday, 9 June 2017 at 17:25:22 UTC, ketmar wrote:
> it is highly platform-dependent. and both bin->dec, and 
> dec->bin conversion routines can contain errors, btw. so using 
> decimal forms for exact bit-patterns is the last thing i want 
> to do, as i know how fragile they are.

Sure. Hex-format is the right choice if you want a fixed bit 
pattern.


More information about the Digitalmars-d-learn mailing list