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

INT128 Casting bug #2319

Closed
acquamarin opened this issue Oct 31, 2023 · 0 comments
Closed

INT128 Casting bug #2319

acquamarin opened this issue Oct 31, 2023 · 0 comments
Assignees

Comments

@acquamarin
Copy link
Collaborator

kuzu> return to_double(to_int128(-15));
------------------------------------------------------------------------------------
| TO_DOUBLE(TO_INT128(NEGATE(15)))                                                 |
------------------------------------------------------------------------------------
| -1797693134862315708145274237317043567980705675258449965989174768031572607800... |
------------------------------------------------------------------------------------
(1 tuple)
Time: 1.71ms (compiling), 0.66ms (executing)

Gives wrong result.
We should have more tests on int128 casting.

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

2 participants