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

Disallow several consecutive _ in a number #1138

Closed
lerno opened this issue Feb 15, 2024 · 1 comment
Closed

Disallow several consecutive _ in a number #1138

lerno opened this issue Feb 15, 2024 · 1 comment
Assignees
Labels
Enhancement Request New feature or request
Milestone

Comments

@lerno
Copy link
Collaborator

lerno commented Feb 15, 2024

Currently it's possible to do 1__0__0 which is a bit useless and also doesn't match what other languages permits, so let's just accept 1_0_0. Also see #1136

@lerno lerno added the Enhancement Request New feature or request label Feb 15, 2024
@lerno lerno added this to the 0.5.5 milestone Feb 15, 2024
@lerno lerno self-assigned this Feb 15, 2024
@lerno
Copy link
Collaborator Author

lerno commented Feb 16, 2024

Fixed in dev.

@lerno lerno closed this as completed Feb 16, 2024
lerno added a commit that referenced this issue Feb 22, 2024
0.5.5 Disallow multiple `_` in a row in digits, e.g. `1__000`. #1138. Fixed toposort example. Struct/union members now correctly rejects members without storage size #1147. `math::pow` will now correctly promote integer arguments. `math::pow` will now correctly promote integer arguments. Added `new_aligned` and `alloc_aligned` functions to prevent accidental under-alignment when allocating simd. Pointer difference would fail where alignment != size (structs etc) #1150. Add test that overalignment actually works for lists. Fixed array calculation for npot2 vectors. Use native aligned alloc on Windows and POSIX. Deprecates "offset". Simplification of the Allocator interface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant