Skip to content

Add complex number support to tan - #459

Merged
kgryte merged 4 commits into
mainfrom
cmplx-tan
Aug 22, 2022
Merged

Add complex number support to tan#459
kgryte merged 4 commits into
mainfrom
cmplx-tan

Conversation

@kgryte

@kgrytekgryte commented Jun 21, 2022

Copy link
Copy Markdown
Contributor

This PR

  • adds complex number support to tan by documenting special cases. The tangent is an analytical function in the complex plane. Thus, the function has no branch cuts.
  • updates the input and output array data types to be any floating-point data type, not just real-valued floating-point data types.
  • derives special cases from C99.

@kgrytekgryte added API change Changes to existing functions or objects in the API. topic: Complex Data Types Complex number data types. labels Jun 21, 2022
@kgrytekgryte added this to the v2022 milestone Jun 21, 2022
@kgryte

Copy link
Copy Markdown
ContributorAuthor

As #458 has been merged, this PR can also be merged. Further modifications can be addressed in subsequent PRs...

@kgryte
kgryte merged commit 733f27c into mainAug 22, 2022
@kgryte
kgryte deleted the cmplx-tan branch August 22, 2022 19:00
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API changeChanges to existing functions or objects in the API.topic: Complex Data TypesComplex number data types.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@kgryte