File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2031,6 +2031,7 @@ extension BinaryFloatingPoint {
2031
2031
/// following formula, where `**` is exponentiation:
2032
2032
///
2033
2033
/// let magnitude = x.significand * F.radix ** x.exponent
2034
+ @inlinable @inline ( __always)
2034
2035
public static var radix : Int { return 2 }
2035
2036
2036
2037
/// Creates a new floating-point value using the sign of one value and the
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ public extension AdditiveArithmetic where Self : ExpressibleByIntegerLiteral {
133
133
///
134
134
/// Zero is the identity element for addition. For any value,
135
135
/// `x + .zero == x` and `.zero + x == x`.
136
- @_transparent
136
+ @inlinable @ inline ( __always )
137
137
static var zero : Self {
138
138
return 0
139
139
}
You can’t perform that action at this time.
0 commit comments