Emojicode Documentation 1.0 beta 1
Guides Language Reference Package Index

Value Type ๐Ÿ”ข

Integer

Methods

๐Ÿ™Œ

 ๐Ÿ™Œ  other ๐Ÿ”ข โžก๏ธ ๐Ÿ‘Œ

Whether this value and other are considered equal.

โž–

 โž–  other ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Returns the receiver minus other.

โž•

 โž•  other ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Returns the receiver plus other.

โž—

 โž—  other ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Returns the receiver divided by other.

โœ–

 โœ–  other ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Returns the receiver multiplied by other.

๐Ÿšฎ

 ๐Ÿšฎ  other ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Returns the receiver modulus other.

โ—€

 โ—€  other ๐Ÿ”ข โžก๏ธ ๐Ÿ‘Œ

Returns true if the receiver is smaller than other.

โ–ถ

 โ–ถ  other ๐Ÿ”ข โžก๏ธ ๐Ÿ‘Œ

Returns true if the receiver is greater than other.

โ—€๐Ÿ™Œ

 โ—€๐Ÿ™Œ  other ๐Ÿ”ข โžก๏ธ ๐Ÿ‘Œ

Returns true if the receiver is smaller than or equal to other.

โ–ถ๐Ÿ™Œ

 โ–ถ๐Ÿ™Œ  other ๐Ÿ”ข โžก๏ธ ๐Ÿ‘Œ

Returns true if the receiver is greater than or equal to other.

โญ•

 โญ•  other ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Returns this integer AND other.

๐Ÿ’ข

 ๐Ÿ’ข  other ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Returns this integer OR other.

โŒ

 โŒ  other ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Returns this integer XOR other.

๐Ÿšซโ—๏ธ

โ—๏ธ ๐Ÿšซ โžก๏ธ ๐Ÿ”ข

Returns NOT applied to this integer.

๐Ÿ‘ˆ

 ๐Ÿ‘ˆ  n ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Shifts this integer by n bits to the left.

๐Ÿ‘‰

 ๐Ÿ‘‰  n ๐Ÿ”ข โžก๏ธ ๐Ÿ”ข

Shifts this integer by n bits to the right.

๐Ÿงโ—๏ธ

โ—๏ธ ๐Ÿง โžก๏ธ ๐Ÿ”ข

Returns the absolute value of this ๐Ÿ”ข.

๐Ÿ”กโ—๏ธ

โ—๏ธ ๐Ÿ”ก  base ๐Ÿ”ข โžก๏ธ ๐Ÿ”ก

Creates a string representation of this integer. base must be greater than or equal to 2 and less than or equal to 35.

The digits used to represent the integer are 0123456789abcdefghijklmnopqrstuvxyz.

๐Ÿ’ฏโ—๏ธ

โ—๏ธ ๐Ÿ’ฏ โžก๏ธ ๐Ÿ’ฏ

Returns the double representation of this integer.

๐Ÿ”‹โ—๏ธ

โ—๏ธ ๐Ÿ”‹ โžก๏ธ ๐Ÿ”ข

Returns the additive inverse of this integer. If this integer is x*, the result equals *-x.

๐Ÿ’งโ—๏ธ

โ—๏ธ ๐Ÿ’ง โžก๏ธ ๐Ÿ’ง

Converts this integer to a byte. The value of this integer must be in [-127, 127].