From 90d0fb00cecf0cc6b901cc9dcbd48696d44e881a Mon Sep 17 00:00:00 2001 From: Diederik de Groot Date: Thu, 22 Feb 2018 21:24:43 +0100 Subject: [PATCH] Exclude 1 math test on DFly. --- std/math.d | 1 + 1 file changed, 1 insertion(+) diff --git a/std/math.d b/std/math.d index 11f8835ec42..c499a9ef09b 100644 --- a/std/math.d +++ b/std/math.d @@ -7119,6 +7119,7 @@ Unqual!(Largest!(F, G)) pow(F, G)(F x, G y) @nogc @trusted pure nothrow assert(isNaN(pow(-0.2, PI))); // boundary cases. Note that epsilon == 2^^-n for some n, // so 1/epsilon == 2^^n is always even. + version(DragonFlyBSD) {} else // exclude next test on DragonFlyBSD assert(pow(-1.0L, 1/real.epsilon - 1.0L) == -1.0L); assert(pow(-1.0L, 1/real.epsilon) == 1.0L); assert(isNaN(pow(-1.0L, 1/real.epsilon-0.5L)));