array-api
array-api copied to clipboard
Add complex number support to `tan`
This PR
- adds complex number support to
tanby 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.