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

Value limits #4

Open
lounick opened this issue Nov 30, 2017 · 2 comments
Open

Value limits #4

lounick opened this issue Nov 30, 2017 · 2 comments

Comments

@lounick
Copy link

lounick commented Nov 30, 2017

Isn't there an error here?

T-UInt64 ::= INTEGER (0..9223372036854775807)

T-Int64 ::= INTEGER (-9223372036854775807.. 9223372036854775807)

The unsigned max should be double and the min of the signed should be -9223372036854775808.

Cheers,
Niko

@maltewi
Copy link
Member

maltewi commented Nov 30, 2017

You're talking about the following lines I guess:

T-UInt64 ::= INTEGER (0..9223372036854775807)
T-Int64 ::= INTEGER (-9223372036854775807.. 9223372036854775807)

And propose to change them to:

T-UInt64 ::= INTEGER (0..18446744073709551615)

T-Int64 ::= INTEGER (-9223372036854775808.. 9223372036854775807)

Sounds reasonable to me. @mmunoz-gmv they are originating from Sargon, right? Do you know of any reason for the range of values?

@mmunoz-gmv
Copy link
Contributor

It's probably a mistake.

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

No branches or pull requests

3 participants