Skip to content

Add complex number support to positive - #447

Merged
kgryte merged 1 commit into
mainfrom
cmplx-positive
Jun 6, 2022
Merged

Add complex number support to positive#447
kgryte merged 1 commit into
mainfrom
cmplx-positive

Conversation

@kgryte

Copy link
Copy Markdown
Contributor

This PR

  • adds complex number support to positive (and __pos__). No special considerations need to be made for complex numbers, as positive is effectively an identity function.

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

Copy link
Copy Markdown
ContributorAuthor

Thanks, @leofang! Will merge, as the changes are straightforward and align with existing array implementations.

@kgryte
kgryte merged commit 3049999 into mainJun 6, 2022
@kgryte
kgryte deleted the cmplx-positive branch June 6, 2022 20: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.

2 participants

@kgryte@leofang