Bug 1424 - ctan.3 and ctanh.3 man pages are wrong.
Summary: ctan.3 and ctanh.3 man pages are wrong.
Status: RESOLVED DUPLICATE of bug 1481
Alias: None
Product: glibc
Classification: Unclassified
Component: manual (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-05 16:15 UTC by Bugsy
Modified: 2018-04-19 14:21 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bugsy 2005-10-05 16:15:50 UTC
I think I am being a good citizen here:

The docs say:

The   complex   hyperbolic  tangent  function  tanh(z)  is  defined  as
       cosh(z)/sinh(z).

The complex tangent function ctan(z) is defined as ccos(z)/csin(z).

In High School over 50 years ago we learnt the mnemonic:
     sohcahtoa

which means sin = opposite / hypotenuse
            cos = adjacent / hypotenuse
            tan = opposite / adjacent

This means that tan = sin / cos

Unless the rules have changed, lately?

Seems to be a problem in all the docs that I tried.
Comment 1 Roland McGrath 2005-10-14 21:16:48 UTC

*** This bug has been marked as a duplicate of 1481 ***