trait
Fractional[T] extends Numeric[T]
Type Members
-
-
class
Ops extends AnyRef
Abstract Value Members
-
abstract
def
compare(x: T, y: T): Int
-
abstract
def
div(x: T, y: T): T
-
abstract
def
fromInt(x: Int): T
-
abstract
def
minus(x: T, y: T): T
-
abstract
def
negate(x: T): T
-
abstract
def
plus(x: T, y: T): T
-
abstract
def
times(x: T, y: T): T
-
abstract
def
toDouble(x: T): Double
-
abstract
def
toFloat(x: T): Float
-
abstract
def
toInt(x: T): Int
-
abstract
def
toLong(x: T): Long
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Fractional[T], B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
abs(x: T): T
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
final
def
eq(arg0: AnyRef): Boolean
-
-
def
equiv(x: T, y: T): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
gt(x: T, y: T): Boolean
-
def
gteq(x: T, y: T): Boolean
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
lt(x: T, y: T): Boolean
-
def
lteq(x: T, y: T): Boolean
-
def
max(x: T, y: T): T
-
def
min(x: T, y: T): T
-
implicit
def
mkNumericOps(lhs: T): FractionalOps
-
implicit
def
mkOrderingOps(lhs: T): Ops
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
on[U](f: (U) ⇒ T): Ordering[U]
-
def
one: T
-
-
val
self: Any
-
val
self: Any
-
def
signum(x: T): Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
tryCompare(x: T, y: T): Some[Int]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
zero: T
-
def
→[B](y: B): (Fractional[T], B)
Inherited from Numeric[T]
Value Members
-
abstract
def
fromInt(x: Int): T
-
abstract
def
minus(x: T, y: T): T
-
abstract
def
negate(x: T): T
-
abstract
def
plus(x: T, y: T): T
-
abstract
def
times(x: T, y: T): T
-
abstract
def
toDouble(x: T): Double
-
abstract
def
toFloat(x: T): Float
-
abstract
def
toInt(x: T): Int
-
abstract
def
toLong(x: T): Long
-
def
abs(x: T): T
-
def
one: T
-
def
signum(x: T): Int
-
def
zero: T
Inherited from Ordering[T]
Value Members
-
abstract
def
compare(x: T, y: T): Int
-
def
equiv(x: T, y: T): Boolean
-
def
gt(x: T, y: T): Boolean
-
def
gteq(x: T, y: T): Boolean
-
def
lt(x: T, y: T): Boolean
-
def
lteq(x: T, y: T): Boolean
-
def
max(x: T, y: T): T
-
def
min(x: T, y: T): T
-
implicit
def
mkOrderingOps(lhs: T): Ops
-
def
on[U](f: (U) ⇒ T): Ordering[U]
-
-
def
tryCompare(x: T, y: T): Some[Int]
Inherited from AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Any
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
final
def
isInstanceOf[T0]: Boolean
Inherited by implicit conversion any2stringadd from
Fractional[T] to StringAdd
Value Members
-
def
+(other: String): String
-
val
self: Any
Inherited by implicit conversion any2stringfmt from
Fractional[T] to StringFormat
Value Members
-
def
formatted(fmtstr: String): String
-
val
self: Any
2.8