Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a note on adding complex64/128 in a future version #105

Merged
merged 3 commits into from
Jan 13, 2021

Conversation

rgommers
Copy link
Member

This also cleans up all the notes in the Data Types section, which were a bit messy and had some duplication.

And it introduces a new "Future extension" admonition, which uses the MyST "colon fence" (requires a newer version of MyST):

image

Closes gh-102

This introduces a new "Future extension" admonition, which
uses the MyST "colon fence" (requires a newer version of MyST).

Closes data-apisgh-102
Copy link
Contributor

@leofang leofang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @rgommers. Sorry for my delayed response. The rendered webpage and most of text changes LGTM.

For the complex dtype itself, I wonder if we can make a stronger commitment for the path forward?

  • Say that it will be included in the next version of Array API, not just a future one
  • Lay out the expected type conversion diagram/table as discussed in Question: complex number support in Array API? #102 (and, ofc, mark it clearly that this conversion is to be expected in the next version) to strengthen the impression that it's been considered and evaluated and we just need time to keep everyone on the same page

What do you think?

spec/API_specification/data_types.md Outdated Show resolved Hide resolved
Co-authored-by: Leo Fang <leofang@bnl.gov>
@rgommers
Copy link
Member Author

rgommers commented Jan 5, 2021

Thanks Leo, that sounds fine to me - I committed your suggestion and will add the diagram later this week.

@rgommers
Copy link
Member Author

Updated to:

image

Copy link
Contributor

@leofang leofang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @rgommers! The latest commit LGTM with one minor issue: I think the figure mistakenly mentions complex32/64, which should be complex64/128 😅

@rgommers
Copy link
Member Author

I think the figure mistakenly mentions complex32/64, which should be complex64/128

argh. fixed now:

image

Will do something about font sizes whenever we get back to really adding complex dtypes, can't be bothered with resizing all those circles for a slightly more uniform look now.

Copy link
Contributor

@leofang leofang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @rgommers. Feel free to merge.

@rgommers rgommers merged commit 9117492 into data-apis:main Jan 13, 2021
@rgommers
Copy link
Member Author

Done. Thanks for reviewing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Question: complex number support in Array API?
2 participants