Emojicode Documentation 1.0 beta 2

Value Type ๐Ÿ’ฏ

Represents a real number.

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 floating-point remainder of the division operation receiver/other. This will always be the value of receiver - n*other and will always have the same sign as the receiver.

โ—€

 โ—€  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.

๐Ÿงโ—๏ธ

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

Returns the absolute value of this ๐Ÿ’ฏ.

๐Ÿ““โ—๏ธ

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

Returns the sine of this ๐Ÿ’ฏ.

๐Ÿ“•โ—๏ธ

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

Returns the cosine of this ๐Ÿ’ฏ.

๐Ÿ“โ—๏ธ

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

Returns the tangent of this ๐Ÿ’ฏ.

๐Ÿ“”โ—๏ธ

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

Returns the arcsine of this ๐Ÿ’ฏ.

๐Ÿ“™โ—๏ธ

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

Returns the arccosine of this ๐Ÿ’ฏ.

๐Ÿ“’โ—๏ธ

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

Returns the arctangent of this ๐Ÿ’ฏ.

๐Ÿ‚โ—๏ธ

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

Returns this ๐Ÿ’ฏ to the exponent power, that is, baseexponent.

โ›ทโ—๏ธ

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

Returns the positive square root of this ๐Ÿ’ฏ.

๐Ÿšดโ—๏ธ

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

Returns the smallest integer greater than or equal to this ๐Ÿ’ฏ.

๐Ÿšตโ—๏ธ

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

Returns the largest integer less than or equal to this ๐Ÿ’ฏ.

๐Ÿ‡โ—๏ธ

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

Returns the value of this ๐Ÿ’ฏ rounded to the nearest integer.

If the fractional portion of this ๐Ÿ’ฏ is 0.5 or greater, the argument is rounded to the next higher integer. If the fractional portion of this ๐Ÿ’ฏ is less than 0.5, the argument is rounded to the next lower integer.

๐Ÿšฃโ—๏ธ

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

Returns the base 2 logarithm of this ๐Ÿ’ฏ.

๐Ÿ„โ—๏ธ

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

Returns the natural (base โ„‡) logarithm of this ๐Ÿ’ฏ.

๐Ÿฅโ—๏ธ

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

Returns the base 10 logarithm of this ๐Ÿ’ฏ.

๐Ÿ”‹โ—๏ธ

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

Returns the additive inverse of this ๐Ÿ’ฏ. If this ๐Ÿ’ฏ is x*, the result equals *-x.

๐Ÿ”กโ—๏ธ

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

Creates a ๐Ÿ”ก representation of this ๐Ÿ’ฏ and the given precision โ€“ the number of digits after the decimal separator โ€œ.โ€.

๐Ÿ”กโ—๏ธ

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

Creates a string representation of this number.

๐Ÿ”ขโ—๏ธ

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

Returns the ๐Ÿ”ข representation of this ๐Ÿ’ฏ.

Type Methods

๐Ÿฅง

๐Ÿ– ๐Ÿ‡โ—๏ธ ๐Ÿฅง โžก๏ธ ๐Ÿ’ฏ

Returns an approximation of ๐œ‹.

๐Ÿ›Ž

๐Ÿ– ๐Ÿ‡โ—๏ธ ๐Ÿ›Ž โžก๏ธ ๐Ÿ’ฏ

Returns an approximation of โ„‡ (Eulerโ€™s number).