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.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Polymorphic multiplication.
Polymorphic multiplication.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Polymorphic addition.
Polymorphic addition.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Polymorphic strict subtraction.
Polymorphic strict subtraction.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Polymorphic division.
Polymorphic division.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Polymorphic strict inferiority.
Polymorphic strict inferiority.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Polymorphic non-strict inferiority.
Polymorphic non-strict inferiority.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Polymorphic strict superiority.
Polymorphic strict superiority.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Polymorphic non-strict superiority.
Polymorphic non-strict superiority.
Type parameters
- A
-
the left member of this operation.
- B
-
the right member of this operation.
Attributes
Convert the two given numerical types to the least common parent.
Convert the two given numerical types to the least common parent.
Type parameters
- A
-
the first type to convert.
- B
-
the second type to convert.
Attributes
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
.
Type parameters
- 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
.
Attributes
Polymorphic ToDouble
.
Polymorphic ToDouble
.
Type parameters
- A
-
the constant type to cast.
Attributes
Polymorphic ToLong
.
Polymorphic ToLong
.
Type parameters
- A
-
the constant type to cast.
Attributes
The zero number of the given type.
The zero number of the given type.
Type parameters
- A
-
the numerical primitive type.
Attributes
Value members
Concrete methods
Get the Double
value of the given type.
Get the Double
value of the given type.
Type parameters
- A
-
the type to convert to
Double
.
Attributes
- Returns
-
the String representation of the given type. Equivalent to
constValue[ToDouble[A]]
.
Get the Long
value of the given type.
Get the Long
value of the given type.
Type parameters
- A
-
the type to convert to
Long
.
Attributes
- Returns
-
the Long representation of the given type. Equivalent to
constValue[ToLong[A]]
.
Get the String
value of the given type.
Get the String
value of the given type.
Type parameters
- A
-
the type to convert to
String
.
Attributes
- Returns
-
the String representation of the given type. Equivalent to
constValue[ToString[A]]
.