This commit is contained in:
minoblue 2024-10-13 17:41:52 +00:00 committed by GitHub
commit 20919ff9a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,6 +60,9 @@ doStuff()
30 % 4; // = 2 30 % 4; // = 2
18.5 % 7; // = 4.5 18.5 % 7; // = 4.5
// Exponentiation (x**y, x to the yth power)
2**3; // => 8
// Bitwise operations also work; when you perform a bitwise operation your float // Bitwise operations also work; when you perform a bitwise operation your float
// is converted to a signed int *up to* 32 bits. // is converted to a signed int *up to* 32 bits.
1 << 2; // = 4 1 << 2; // = 4