Real

object Real extends RealInstances
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case
class Exact(n: Rational) extends Real
case
class Inexact(f: Int => SafeLong) extends Real

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def accumulate(total: SafeLong, xs: LazyList[SafeLong], cs: LazyList[Rational]): SafeLong
def acos(x: Real): Real
def acosh(x: Real): Real
def apply(f: Int => SafeLong): Real
def apply(s: String): Real
def asin(x: Real): Real
def asinh(x: Real): Real
def atan(x: Real): Real
def atan2(y: Real, x: Real): Real
def atanDr(x: Real): Real
def atanDrx(x: Real): Real
def atanh(x: Real): Real
def bits: Int
def cos(x: Real): Real
def cosDr(x: Real): Real
def cosh(x: Real): Real
def digits: Int
def digitsToBits(n: Int): Int
def div2n(x: Real, n: Int): Real
def exp(x: Real): Real
def expDr(x: Real): Real
def log(x: Real): Real
def logDr(x: Real): Real
def logDrx(x: Real): Real
def mul2n(x: Real, n: Int): Real
def sin(x: Real): Real
def sinDr(x: Real): Real
def sinh(x: Real): Real
def sizeInBase(n: SafeLong, base: Int): Int
def tan(x: Real): Real
def tanh(x: Real): Real

Deprecated methods

@deprecated("prefer LazyList instead", "0.17.0")
def accumulate(total: SafeLong, xs: Stream[SafeLong], cs: Stream[Rational]): SafeLong
Deprecated

Concrete fields

lazy
val e: Real
val four: Real
lazy
val log2: Real
val one: Real
lazy
val phi: Real
lazy
val pi: Real
lazy
val piBy2: Real
lazy
val piBy4: Real
lazy
val two: Real
val zero: Real

Implicits

Implicits

implicit
def apply(n: Int): Real
implicit
def apply(n: Long): Real
implicit
def apply(n: BigInt): Real
implicit
implicit
implicit
def apply(n: Double): Real
implicit
def apply(n: BigDecimal): Real

Inherited implicits

final implicit
Inherited from
RealInstances
final implicit
val algebra: Fractional[Real] & forCommutativeRing[Real] & Trig[Real] & Field[Real] & Order[Real]
Inherited from
RealInstances