Add deprecation status to doc comments [NFC]
This commit is contained in:
parent
cf86536c61
commit
c473959f38
|
@ -49,7 +49,7 @@ extension BinaryInteger {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the result of raising `base` to the power of `exponent`, rounded
|
/// Returns the result of raising `base` to the power of `exponent`, rounded
|
||||||
/// to a representable value.
|
/// to a representable value (deprecated).
|
||||||
@available(*, deprecated, message: "Use operator instead")
|
@available(*, deprecated, message: "Use operator instead")
|
||||||
public static func pow(_ base: Self, _ exponent: Self) -> Self {
|
public static func pow(_ base: Self, _ exponent: Self) -> Self {
|
||||||
return base ** exponent
|
return base ** exponent
|
||||||
|
|
|
@ -276,7 +276,7 @@ extension Math {
|
||||||
|
|
||||||
extension Math {
|
extension Math {
|
||||||
/// Returns the result of raising `base` to the power of `exponent`, rounded
|
/// Returns the result of raising `base` to the power of `exponent`, rounded
|
||||||
/// to a representable value.
|
/// to a representable value (deprecated).
|
||||||
///
|
///
|
||||||
/// - Parameters:
|
/// - Parameters:
|
||||||
/// - base: The base to be raised to the power of `exponent`.
|
/// - base: The base to be raised to the power of `exponent`.
|
||||||
|
|
Loading…
Reference in New Issue