D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17003 - std.bigint: CTFE not available for win32
Summary: std.bigint: CTFE not available for win32
Status: RESOLVED DUPLICATE of issue 14767
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Windows
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-22 16:20 UTC by Seb
Modified: 2020-03-21 03:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Seb 2016-12-22 16:20:42 UTC
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 basile-z 2018-01-14 18:20:21 UTC

*** This issue has been marked as a duplicate of issue 14767 ***