scala

trait Fractional

[source: scala/Fractional.scala]

trait Fractional[T]
extends Numeric[T]
Direct Known Subclasses:
Numeric.FloatIsFractional, Numeric.DoubleIsFractional, Numeric.BigDecimalIsFractional

Method Summary
abstract def div (x : T, y : T) : T
implicit override def mkNumericOps (lhs : T) : FractionalOps
Methods inherited from Numeric
plus (abstract), minus (abstract), times (abstract), negate (abstract), fromInt (abstract), toInt (abstract), toLong (abstract), toFloat (abstract), toDouble (abstract), 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
Class Summary
class FractionalOps (lhs : T) extends Ops
Method Details
abstract def div(x : T, y : T) : T

implicit override def mkNumericOps(lhs : T) : FractionalOps
Overrides
Numeric.mkNumericOps