www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17003] New: std.bigint: CTFE not available for win32


          Issue ID: 17003
           Summary: std.bigint: CTFE not available for win32
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: greeenify gmail.com

From: https://github.com/andersonpd/eris/issues/6

 The ongoing problem with std.bigint is that CTFE is not available for
the 32-bit Windows version. Because of this eris.decimal will not compile with std.bigint. The fundamental issue is that std.bigint uses assembly language routines for speed-up in the 32-bit Windows versions and asm instructions cannot be evaluated at compile time. I have, as noted, created a separate big integer type which I am sure is not as fast as std.bigint, but it is correctly implemented. I just hate to see two different bigint implementations in phobos, so I have not pushed to move my eris.decimal to std.decimal until std.bigint is modified. --
Dec 22 2016