final class Long_Exp extends AnyVal
The Long_Exp
value class adds an exponentiation operator 'x ~ y' and a
'near_eq' operator 'x =~ y' to Long
.
The '~' has higher precedence than '*' or '/'.
- Alphabetic
- By Inheritance
- Long_Exp
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Long_Exp(self: Long)
- self
the underlying object to be accessed via the self accessor
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
def
!=~(y: Double): Boolean
Determine whether 'this' is not approximately equal to 'y'.
Determine whether 'this' is not approximately equal to 'y'.
- y
the given value
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
=~(y: Double): Boolean
Determine whether 'this' is approximately equal to 'y'.
Determine whether 'this' is approximately equal to 'y'.
- y
the given value
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
in(set: Set[Long]): Boolean
Determine whether 'this' is in the given set.
-
def
in(lim: (Long, Long)): Boolean
Determine whether 'this' is within the given bounds
Determine whether 'this' is within the given bounds
- lim
the given (lower, upper) bounds
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
not_in(set: Set[Long]): Boolean
Determine whether 'this' is not in the given set.
-
def
not_in(lim: (Long, Long)): Boolean
Determine whether 'this' is not within the given bounds
Determine whether 'this' is not within the given bounds
- lim
the given (lower, upper) bounds
- val self: Long
-
def
toString(): String
- Definition Classes
- Any
-
def
~^(y: Long): Long
Raise 'this' to the 'y'-th power.
Raise 'this' to the 'y'-th power.
- y
the given exponent
- def ↑(y: Long): Long
- def ∈(set: Set[Long]): Boolean
- def ∈(lim: (Long, Long)): Boolean
- def ∉(set: Set[Long]): Boolean
- def ∉(lim: (Long, Long)): Boolean
- def ≈(y: Double): Boolean
- def ≉(y: Double): Boolean
-
def
≠(y: Long): Boolean
Determine whether 'this' is not equal to 'y'.
Determine whether 'this' is not equal to 'y'.
- y
the given value
-
def
≤(y: Long): Boolean
Determine whether 'this' is less than or equal to 'y'.
Determine whether 'this' is less than or equal to 'y'.
- y
the given value
-
def
≥(y: Long): Boolean
Determine whether 'this' is greater than or equal to 'y'.
Determine whether 'this' is greater than or equal to 'y'.
- y
the given value