mirror of
https://github.com/apple/swift-numerics
synced 2026-11-22 04:30:45 +00:00
Fix typo.
This commit is contained in:
1 file changed
+1
-1
@@ -41,7 +41,7 @@ extension Real {
|
||||
|
||||
/// cos(x) - 1, computed in such a way as to maintain accuracy for small x.
|
||||
///
|
||||
/// See also ``ElementaryFunctions.expMinusOne()``.
|
||||
/// See also ``ElementaryFunctions/expMinusOne()``.
|
||||
@_transparent
|
||||
public static func cosMinusOne(_ x: Self) -> Self {
|
||||
let sinxOver2 = sin(x/2)
|
||||
|
||||
Reference in new issue
Block a user