Bug 17003 – std.bigint: CTFE not available for win32

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2016-12-22T16:20:42Z
Last change time
2020-03-21T03:56:33Z
Assigned to
No Owner
Creator
Seb

Comments

Comment #0 by greeenify — 2016-12-22T16:20:42Z
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.
Comment #1 by b2.temp — 2018-01-14T18:20:21Z
*** This issue has been marked as a duplicate of issue 14767 ***