mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 06:03:07 +03:00
Merge d0cf957d0b
into 7678771275
This commit is contained in:
commit
20919ff9a8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user