Summary: std.numeric.CustomFloat doesn't work on Mac OS X.
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Masahiro Nakagawa <> 2010-06-13 
14:01:40 PDT ---
I tested following code using dmd 2.047 on Mac OS X 10.6.3.

import std.numeric;

void main()
    CustomFloat!16 a;

compilation result:

std/numeric.d(476): Error: template instance ToBinary!(real) does not match
template declaration ToBinary(F) if (is(CustomFloat!(F.sizeof * 8)))
std/numeric.d(476): Error: ToBinary!(real) is used as a type
std/numeric.d(476): Error: variable
voids have no value

I think this cause is real type size. real.sizeof is 16 on Mac OS X, but
current std.numeric.CustomFloat can't treat those environments.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to