Skip to content

Commit 63df367

Browse files
authored
Fix a typo in the comments of sinh expression
1 parent 9837c10 commit 63df367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComplexModule/ElementaryFunctions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ extension Complex: ElementaryFunctions {
164164
)
165165
}
166166

167-
// sinh(x + iy) = sinh(x) cos(y) + i cosh(x) sinh(y)
167+
// sinh(x + iy) = sinh(x) cos(y) + i cosh(x) sin(y)
168168
//
169169
// See cosh above for algorithm details.
170170
@inlinable

0 commit comments

Comments
 (0)