final class Int_Exp extends AnyVal
The Int_Exp
value class adds an exponentiation operator 'x ~ y' and a
'near_eq' operator 'x =~ y' to Int
.
The '~' has higher precedence than '*' or '/'.
- Alphabetic
- By Inheritance
- Int_Exp
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Int_Exp(self: Int)
- 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
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
- def =~(y: Double): Boolean
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: Int
-
def
toString(): String
- Definition Classes
- Any
- def ~^(y: Int): Int
- def ≠(y: Int): Boolean
- def ≤(y: Int): Boolean
- def ≥(y: Int): Boolean