From 63df3676802fef62cf39ded4070412a823866558 Mon Sep 17 00:00:00 2001 From: Markus Winter Date: Wed, 13 Oct 2021 11:47:45 +0200 Subject: [PATCH] Fix a typo in the comments of sinh expression --- Sources/ComplexModule/ElementaryFunctions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ComplexModule/ElementaryFunctions.swift b/Sources/ComplexModule/ElementaryFunctions.swift index de81f32..955ce83 100644 --- a/Sources/ComplexModule/ElementaryFunctions.swift +++ b/Sources/ComplexModule/ElementaryFunctions.swift @@ -164,7 +164,7 @@ extension Complex: ElementaryFunctions { ) } - // sinh(x + iy) = sinh(x) cos(y) + i cosh(x) sinh(y) + // sinh(x + iy) = sinh(x) cos(y) + i cosh(x) sin(y) // // See cosh above for algorithm details. @inlinable