Skip to content

Commit

Permalink
Fix biguintnoasm.d on x86-64
Browse files Browse the repository at this point in the history
  • Loading branch information
braddr committed Mar 27, 2011
1 parent d935e57 commit 919eec2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion posix.mak
Expand Up @@ -246,7 +246,6 @@ DISABLED_TESTS += std/math
# seems to infinite loop, need to reduce

DISABLED_TESTS += std/random
DISABLED_TESTS += std/internal/math/biguintnoasm

$(addprefix $(ROOT)/unittest/,$(DISABLED_TESTS)) :
@echo Testing $@ - disabled
Expand Down
2 changes: 1 addition & 1 deletion std/internal/math/biguintnoasm.d
Expand Up @@ -260,7 +260,7 @@ unittest {
for (int i=0; i<aa.length; ++i) aa[i] = 0x8765_4321 * (i+3);
uint overflow = multibyteMul(aa, aa, 0x8EFD_FCFB, 0x33FF_7461);
uint r = multibyteDivAssign(aa, 0x8EFD_FCFB, overflow);
for (sizediff_t i=aa.length-1; i>=0; --i) { assert(aa[i] == 0x8765_4321 * (i+3)); }
for (int i=0; i<aa.length; ++i) { assert(aa[i] == 0x8765_4321 * (i+3)); }
assert(r==0x33FF_7461);

}
Expand Down

0 comments on commit 919eec2

Please sign in to comment.