Skip to content

Negative integers are returned as unsigned integers #191

Closed
@kachakil

Description

@kachakil

According to the documentation, int is "The primitive type of integers, represented with 32 bits using two's complement". However, the VS Code extension returns 4294967295 (instead of -1) for the following queries, among other similar expressions:

from int x
where x = -1
select x
select -1

screenshot-uint-ql

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions