Skip to content

Commit 83183f4

Browse files
authored
Merge pull request #30950 from compnerd/no-fp80
AutoDiff: disable the test cases for FP80
2 parents abd4b12 + 3528e7e commit 83183f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/AutoDiff/stdlib/tgmath_derivatives.swift.gyb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ where T == T.TangentVector {
5454
%for op in ['derivative', 'gradient']:
5555
%for T in ['Float', 'Float80']:
5656

57+
%if T == 'Float80':
58+
#if !(os(Windows) || os(Android)) && (arch(i386) || arch(x86_64))
59+
%end
60+
5761
DerivativeTests.test("${op}_${T}") {
5862
expectEqualWithTolerance(7.3890560989306502274, ${op}(at: 2 as ${T}, in: exp))
5963
expectEqualWithTolerance(2.772588722239781145, ${op}(at: 2 as ${T}, in: exp2))
@@ -111,6 +115,11 @@ DerivativeTests.test("${op}_${T}") {
111115
}
112116
}
113117
}
118+
119+
%if T == 'Float80':
120+
#endif
121+
%end
122+
114123
%end # for T in ['Float', 'Float80']:
115124
%end # for op in ['derivative', 'gradient']:
116125

0 commit comments

Comments
 (0)