File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2048,6 +2048,7 @@ extension BinaryFloatingPoint {
2048
2048
/// following formula, where `**` is exponentiation:
2049
2049
///
2050
2050
/// let magnitude = x.significand * F.radix ** x.exponent
2051
+ @inlinable @inline ( __always)
2051
2052
public static var radix : Int { return 2 }
2052
2053
2053
2054
/// 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,6 +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
+ @inlinable @inline ( __always)
136
137
static var zero : Self {
137
138
return 0
138
139
}
You can’t perform that action at this time.
0 commit comments