Number

object Number extends NumberInstances

Convenient apply and implicits for Numbers

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Number.type

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

Concrete fields

final val one: Number
final val zero: Number

Implicits

Implicits

implicit def apply(n: Int): Number
implicit def apply(n: Long): Number
implicit def apply(n: BigInt): Number
implicit def apply(n: SafeLong): Number
implicit def apply(n: BigDecimal): Number
implicit def apply(n: Rational): Number
implicit def apply(n: Natural): Number
implicit def apply(n: Float): Number
implicit def apply(n: Double): Number