[Trivial] Exclude 1 math test on DFly.#57
[Trivial] Exclude 1 math test on DFly.#57dkgroot wants to merge 1 commit intoldc-developers:ldc-ltsmasterfrom
Conversation
|
I think it's better to spend more time figuring out what is causing the problem first. |
|
@JohanEngelen
|
Launch a debugger and step into it. You'll probably want to link against the debug runtime for debug infos in Phobos: |
|
Well at least in current ltsmaster, the libm function is definitely not called, it's all implemented in D: https://github.com/ldc-developers/phobos/blob/ldc-ltsmaster/std/math.d#L6884 |
|
Will have another stab at it tomorrow. |
|
I check this, too, because I think I introduced this failure with #56. |
|
#60 fixes the problem for me. |
|
Indeed, the unit test failure in |
|
@redstar Thanks for the update. Closing this PR |
Not 100% what is causing this check to fail / or what this test is trying to prove):
assert(pow(-1.0L, 1/real.epsilon - 1.0L) == -1.0L);
Running (In D + ldc):
gives:
However (C + gcc -lm):
gives:
Which is the correct answer.
Excluding the test on dragonfly for now, until i figure out the cause.