Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cosmo
v0.10.0
Top Level Namespace
Cosmo
AST
Expression
Access
Base
BigIntLiteral
BinaryOp
BooleanLiteral
Cast
CharLiteral
CompoundAssignment
FloatLiteral
FunctionCall
Index
IntLiteral
Is
IsIn
Lambda
Literal
MultipleAssignment
MultipleDeclaration
New
NoneLiteral
Parameter
PropertyAssignment
RangeLiteral
StringInterpolation
StringLiteral
TableLiteral
TernaryOp
This
TypeAlias
TypeRef
UnaryOp
Var
VarAssignment
VarDeclaration
VectorLiteral
Visitor
Node
Statement
Base
Block
Break
Case
ClassDef
EnumDef
Every
FunctionDef
If
Next
Return
SingleExpression
Throw
TryCatch
Unless
Until
Use
Visitor
When
While
Visibility
Callable
Class
ClassInstance
Function
HookedExceptions
Break
Next
Return
Throw
Interpreter
Intrinsic
Chars
Blank
Codepoint
Digit
Letter
Lower
Pad
Upper
Eval
FileLib
Append
Delete
Directory
Empty
Exists
Read
Write
Gets
HttpLib
Client
RequestFunction
ResponseBody
ToJSON
ToText
ResponseBodyFunctionBase
Request
GetParameter
Response
Send
SetContentType
Server
ContextFunctionBase
Listen
IFunction
JSONLib
Deserialize
Serialize
Lib
MathLib
Acos
Acosh
Asin
Asinh
Atan
Atan2
Atanh
Cos
Cosh
Exp
Log
Log10
Log2
Max
Min
Random
Sin
Sinh
Tan
Tanh
Numbers
Cbrt
Ceil
Floor
ISqrt
Round
Sqrt
ToUtf16
Puts
Ranges
Begin
End
Sum
RecursionDepth
SocketLib
Server
Connection
Close
Receive
Send
ContextFunctionBase
Listen
Strings
Alpha
AlphaNumeric
Blank
CamelCase
Capitalize
Chars
Empty
EndsWith
Includes
Index
LChop
Lower
LTrim
Numeric
Pad
PascalCase
RChop
Replace
Reverse
RIndex
RTrim
SnakeCase
Split
StartsWith
TitleCase
Trim
Upper
WithoutFirst
WithoutLast
SystemLib
EnvLib
SetVar
Var
Exec
SystemTime
Table
Empty
Has
Invert
Keys
Values
Vector
Combine
Delete
DeleteAt
Filter
First
FirstNullable
Includes
Index
IsEmpty
Join
Last
LastNullable
Map
Pop
Push
Reverse
RIndex
Shift
Sort
Sum
WebhookLib
Send
Keywords
Lexer
LiteralType
Location
Logger
StackFrame
NestableValueType
Num
Operator
AndAssign
Band
Bnot
Bor
Bshl
Bshr
Bxor
CoalesceAssign
Div
DivAssign
GT
GTE
IntDiv
LT
LTE
Minus
MinusAssign
Mod
ModAssign
Mul
MulAssign
OrAssign
Plus
PlusAssign
Pow
PowAssign
Parser
RangeType
Resolver
FnType
Scope
Spread
Syntax
Token
Type
TypeChecker
TypeHoister
UInt
Util
Color
Stringify
ValueType
Built with Crystal 1.9.2
2023-10-08 13:13:23 UTC
class
Cosmo::Intrinsic::Numbers
Cosmo::Intrinsic::Numbers
Reference
Object
Defined in:
cosmo/runtime/intrinsic/number.cr
Constructors
.new
(interpreter : Interpreter, value : Num)
Instance Method Summary
#get_method
(name : Token) : IFunction
Constructor Detail
def self.
new
(interpreter :
Interpreter
, value :
Num
)
#
[
View source
]
Instance Method Detail
def
get_method
(name :
Token
) :
IFunction
#
[
View source
]