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 helpers for computing the min and max values of numeric builtin types #397

Closed
joshua-spacetime opened this issue Oct 10, 2023 · 0 comments · Fixed by #398
Closed

Add helpers for computing the min and max values of numeric builtin types #397

joshua-spacetime opened this issue Oct 10, 2023 · 0 comments · Fixed by #398
Assignees

Comments

@joshua-spacetime
Copy link
Collaborator

This will be used for generating multi-column index bounds. Currently multidimensional index keys are translated via concatenation into 1-dimensional index keys. In order to correctly express unbounded dimensions, i.e a > 5, we need to be able to compute the min and max values of numeric types.

@joshua-spacetime joshua-spacetime self-assigned this Oct 10, 2023
joshua-spacetime added a commit that referenced this issue Oct 10, 2023
Fixes #397.

Adding these helpers for computing multidimensional index bounds.
Any unbounded or infinite dimensions need to be made finite by computing
the min or max value for the type of said dimension.

For example
```
a < 5 and b < 6
```
needs to become
```
a >= MIN and a < 5 and b >= MIN and b < 5
```
joshua-spacetime added a commit that referenced this issue Oct 10, 2023
Fixes #397.

Adding these helpers for computing multidimensional index bounds.
Any unbounded or infinite dimensions need to be made finite by computing
the min or max value for the type of said dimension.

For example
```
a < 5 and b < 6
```
needs to become
```
a >= MIN and a < 5 and b >= MIN and b < 5
```
joshua-spacetime added a commit that referenced this issue Oct 10, 2023
Fixes #397.

Adding these helpers for computing multidimensional index bounds.
Any unbounded or infinite dimensions need to be made finite by computing
the min or max value for the type of said dimension.

For example
```
a < 5 and b < 6
```
needs to become
```
a >= MIN and a < 5 and b >= MIN and b < 5
```
joshua-spacetime added a commit that referenced this issue Oct 10, 2023
Fixes #397.

Adding these helpers for computing multidimensional index bounds.
Any unbounded or infinite dimensions need to be made finite by computing
the min or max value for the type of said dimension.

For example
```
a < 5 and b < 6
```
needs to become
```
a >= MIN and a < 5 and b >= MIN and b < 5
```
joshua-spacetime added a commit that referenced this issue Oct 10, 2023
Fixes #397.

Adding these helpers for computing multidimensional index bounds.
Any unbounded or infinite dimensions need to be made finite by computing
the min or max value for the type of said dimension.

For example
```
a < 5 and b < 6
```
needs to become
```
a >= MIN and a < 5 and b >= MIN and b < 5
```
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 a pull request may close this issue.

1 participant