abstract class Cosmo::IntrinsicFunction
- Cosmo::IntrinsicFunction
- Cosmo::Callable
- Reference
- Object
Direct Known Subclasses
- Cosmo::MathLib::Acos
- Cosmo::MathLib::Acosh
- Cosmo::MathLib::Asin
- Cosmo::MathLib::Asinh
- Cosmo::MathLib::Atan
- Cosmo::MathLib::Atan2
- Cosmo::MathLib::Atanh
- Cosmo::MathLib::Cbrt
- Cosmo::MathLib::Ceil
- Cosmo::MathLib::Cos
- Cosmo::MathLib::Cosh
- Cosmo::MathLib::Exp
- Cosmo::MathLib::Floor
- Cosmo::MathLib::Isqrt
- Cosmo::MathLib::Log
- Cosmo::MathLib::Log10
- Cosmo::MathLib::Log2
- Cosmo::MathLib::Max
- Cosmo::MathLib::Min
- Cosmo::MathLib::Round
- Cosmo::MathLib::Sin
- Cosmo::MathLib::Sinh
- Cosmo::MathLib::Sqrt
- Cosmo::MathLib::Tan
- Cosmo::MathLib::Tanh
- Cosmo::PutsIntrinsic
Defined in:
cosmo/runtime/global_intrinsics.crConstructors
Instance Method Summary
- #call(args : Array(ValueType)) : ValueType
- #intrinsic? : Bool
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #token(name : String) : Token
Instance methods inherited from class Cosmo::Callable
arity : Range(UInt32, UInt32)
arity,
call(args : Array(ValueType)) : ValueType
call,
intrinsic? : Bool
intrinsic?,
to_s : String
to_s
Constructor Detail
Instance Method Detail
def to_s : String
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.