On 23 August 2013 15:04, Johannes Pfau <nos...@example.com> wrote: > Am Fri, 16 Aug 2013 18:33:14 +0200 > schrieb "Iain Buclaw" <ibuc...@ubuntu.com>: > >> I've pushed in pure implementations of functions in std.math, >> removing the workaround in core.stdc.math. >> >> This passes for x64/x32. Can any ARM testers please report any >> problems causecd by this update? > > Do you have any uncommitted changes for std.math? There's one remaining > test that fails on the auto-tester and on my machine: > http://d.puremagic.com/test-results/test_data.ghtml?projectid=2&runid=50062&logid=13 > > In std.math, line 1947: > assert(expi(1.3e5L) == cos(1.3e5L) + sin(1.3e5L) * 1i); > > seems like constant folding at work again, this passes: > -------- > real input = 1.3e5L; > assert(expi(1.3e5L) == cos(input) + sin(input) * 1i); > --------
Weird, I've never noticed this when running on 32bit/64bit test machines locally (maybe because I use gcc-4.9 development?) -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';