File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
stdlib/public/Differentiation Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -44,19 +44,3 @@ public extension Differentiable where TangentVector == Self {
44
44
self += direction
45
45
}
46
46
}
47
-
48
- //===----------------------------------------------------------------------===//
49
- // `Differentiable` conformances
50
- //===----------------------------------------------------------------------===//
51
-
52
- extension Float : Differentiable {
53
- public typealias TangentVector = Self
54
- }
55
- extension Double : Differentiable {
56
- public typealias TangentVector = Self
57
- }
58
- #if (arch(i386) || arch(x86_64)) && !(os(Windows) || os(Android))
59
- extension Float80 : Differentiable {
60
- public typealias TangentVector = Self
61
- }
62
- #endif
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ extension ${Self}: Differentiable {
44
44
}
45
45
}
46
46
47
+ //===----------------------------------------------------------------------===//
48
+ // Derivatives
49
+ //===----------------------------------------------------------------------===//
50
+
47
51
/// Derivatives of standard unary operators.
48
52
${ Availability ( bits) }
49
53
extension ${ Self} {
You can’t perform that action at this time.
0 commit comments