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 levels to dtype definitions in the dtype register #331

Open
scott-griffiths opened this issue May 14, 2024 · 0 comments
Open

Add levels to dtype definitions in the dtype register #331

scott-griffiths opened this issue May 14, 2024 · 0 comments

Comments

@scott-griffiths
Copy link
Owner

scott-griffiths commented May 14, 2024

The problem I'm trying to solve here is that we have lots of dtypes, and possibly want to add more and allow user-defined ones. This can mean that it's hard to show them all together without confusing the user. In the manual we already distinguish between the 'main' dtypes and the more esoteric ones.

Perhaps attaching a level to dtypes can be helpful:

Level 1: The fundamental ones. u, i, f, b, o, h, bytes.
Level 2: The variants. uintne, floatbe, intle etc. Maybe later the reverse ones uint_r etc.
Level 3: The esoteric. se, bfloat, e3m2mxfp, p3binary8 etc.

Future user defined ones can choose their own level? Or be level 4?

I'm not sure if 'level' is a good name for this.

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

No branches or pull requests

1 participant