From 1a128358dc00e66394fcdc03b0f113833bdca31b Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 6 Mar 2019 20:00:56 -0500 Subject: notes for future reference --- src/tgmath/_Imaginary.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/tgmath/_Imaginary.txt (limited to 'src') diff --git a/src/tgmath/_Imaginary.txt b/src/tgmath/_Imaginary.txt new file mode 100644 index 00000000..994337db --- /dev/null +++ b/src/tgmath/_Imaginary.txt @@ -0,0 +1,16 @@ +when called with an _Imaginary (not _Complex) argument, the following apply: + +cos(iy) = cosh(y) +sin(iy) = i sinh(y) +tan(iy) = i tanh(y) +cosh(iy) = cos(y) +sinh(iy) = i sin(y) +tanh(iy) = i tan(y) +asin(iy) = i asinh(y) +atan(iy) = i atanh(y) +asinh(iy) = i asin(y) +atanh(iy) = i atan(y) + +cos, cosh, fabs, carg, cimag, and creal => return real types +sin, tan, sinh, tanh, asin, atan, asinh, atanh => return _Imaginary types +all others => return _Complex types -- cgit v1.2.1