http://d.puremagic.com/issues/show_bug.cgi?id=3520



--- Comment #4 from Rob Jacques <sandf...@jhu.edu> 2010-04-08 10:49:06 PDT ---
The bit layout of custom float is not IEEE compliant and can't be used to
represent half, float nor double types.

Here's the correct layout
    private mixin(bitfields!(
                  uint, "fraction", fractionBits,
                  uint, "exponent", exponentBits,
                  bool,   "sign",   signBit));

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to