0 votes

I need a 64 bit number, to create a bitboard: http://pages.cs.wisc.edu/~psilord/blog/data/chess-pages/rep.html
And be able to use binary operations like | or &. The integer of godot is 64 bit but it is signed, do you know any way to convert it to unsigned?
Precisely, I need to pass from this:
-9223372036854775808 to 9223372036854775807
to this:
0 to 18446744073709551615

Godot version 3.2.4
in Engine by (2,186 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.