scala.Numeric

trait IntIsIntegral

[source: scala/Numeric.scala]

trait IntIsIntegral
extends Integral[Int]
Direct Known Subclasses:
Numeric.IntIsIntegral

Method Summary
def fromInt (x : Int) : Int
def minus (x : Int, y : Int) : Int
def negate (x : Int) : Int
def plus (x : Int, y : Int) : Int
def quot (x : Int, y : Int) : Int
def rem (x : Int, y : Int) : Int
def times (x : Int, y : Int) : Int
def toDouble (x : Int) : Double
def toFloat (x : Int) : Float
def toInt (x : Int) : Int
def toLong (x : Int) : Long
Methods inherited from Integral
mkNumericOps
Methods inherited from Numeric
zero, one, abs, signum
Methods inherited from Ordering
compare (abstract), lteq, gteq, lt, gt, equiv, max, min, reverse, mkOrderingOps
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def plus(x : Int, y : Int) : Int

def minus(x : Int, y : Int) : Int

def times(x : Int, y : Int) : Int

def quot(x : Int, y : Int) : Int
Overrides
Integral.quot

def rem(x : Int, y : Int) : Int
Overrides
Integral.rem

def negate(x : Int) : Int

def fromInt(x : Int) : Int

def toInt(x : Int) : Int

def toLong(x : Int) : Long

def toFloat(x : Int) : Float

def toDouble(x : Int) : Double