compileTime
Methods and types to ease compile-time operations.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- compileTime.type
Members list
Type members
Types
Polymorphic modulo.
Polymorphic modulo.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Polymorphic multiplication.
Polymorphic multiplication.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Polymorphic addition.
Polymorphic addition.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Polymorphic strict subtraction.
Polymorphic strict subtraction.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Polymorphic division.
Polymorphic division.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Polymorphic strict inferiority.
Polymorphic strict inferiority.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Polymorphic non-strict inferiority.
Polymorphic non-strict inferiority.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Polymorphic strict superiority.
Polymorphic strict superiority.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Polymorphic non-strict superiority.
Polymorphic non-strict superiority.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
Convert the two given numerical types to the least common parent.
Convert the two given numerical types to the least common parent.
Attributes
- A
the first type to convert.
- B
the second type to convert.
Polymorphic numerical binary operator. Takes the right implementation according to the least common type of A
and B
.
Polymorphic numerical binary operator. Takes the right implementation according to the least common type of A
and B
.
Attributes
- A
the left member of this operation.
- B
the right member of this operation.
- DoubleOp
the operation to apply if both types can be converted to
Double
.- FloatOp
the operation to apply if both types can be converted to
Float
.- IntOp
the operation to apply if both types can be converted to
Int
.- LongOp
the operation to apply if both types can be converted to
Long
.
Polymorphic ToDouble
.
Polymorphic ToDouble
.
Attributes
- A
the constant type to cast.
The zero number of the given type.
The zero number of the given type.
Attributes
- A
the numerical primitive type.
Value members
Concrete methods
Get the Double
value of the given type.
Get the Double
value of the given type.
Attributes
- A
the type to convert to
Double
.- Returns:
the String representation of the given type. Equivalent to
constValue[ToDouble[A]]
.
Get the String
value of the given type.
Get the String
value of the given type.
Attributes
- A
the type to convert to
String
.- Returns:
the String representation of the given type. Equivalent to
constValue[ToString[A]]
.