array-api icon indicating copy to clipboard operation
array-api copied to clipboard

Add complex number support to `tan`

Open kgryte opened this issue 3 years ago • 0 comments

This PR

  • adds complex number support to tan by documenting special cases. The sine 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.

kgryte avatar Jun 21 '22 21:06 kgryte