object DoubleTop extends DoubleTop with WidenToDouble[Double, Double]
- Alphabetic
- By Inheritance
- DoubleTop
- WidenToDouble
- Widen
- DoubleTop
- HasDefault
- FromAny
- ScalarToNumImpl
- ToNum
- ScalarEqImpl
- Scalar
- NumDouble
- NumFrac
- NumDiv
- Num
- Ord
- Eq
- Adjunct
- Writable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- final def ##: scala.Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- def abs(a: In): In
- def absDif(a: In, b: In): In
- def acos(a: In): In
- def ampDb(a: In): In
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asin(a: In): In
- def atan(a: In): In
- def atan2(a: In, b: In): In
- def ceil(a: In): In
- def clip(a: In, lo: In, hi: In): In
- def clip2(a: In, b: In): In
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def coin[Tx](a: In)(implicit r: Random[Tx], tx: Tx): Boolean
- def cos(a: In): In
- def cosh(a: In): In
- def cpsMidi(a: In): In
- def cpsOct(a: In): In
- def cubed(a: In): In
- def dbAmp(a: In): In
- def defaultValue: Double
- Definition Classes
- DoubleTop → HasDefault
- def difSqr(a: In, b: In): In
- def div(a: In, b: In): In
- final def eq(a: scala.Double, b: scala.Double): Boolean
- Definition Classes
- ScalarEqImpl → Eq
- final def eq(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef → Any
- def excess(a: In, b: In): In
- def exp(a: In): In
- def floor(a: In): In
- def fold(a: In, lo: In, hi: In): In
- def fold2(a: In, b: In): In
- def frac(a: In): In
- def fromAny(in: Any): Option[Double]
Tries to extract a value of type
A
from an unknown input value.Tries to extract a value of type
A
from an unknown input value. If the input value is generally incompatible withA
, returnsNone
.The extraction should be direct and lossless. For example, a
FromAny[Int]
should not try to parse a string, nor should it cast aLong
to anInt
. On the other hand, aFromAny[Double]
should accept aFloat
as input. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def gt(a: In, b: In): Boolean
- def gteq(a: In, b: In): Boolean
- def hashCode(): scala.Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hypot(a: In, b: In): In
- def hypotApx(a: In, b: In): In
- final val id: Int(2)
- final def isInstanceOf[T0]: scala.Boolean
- Definition Classes
- Any
- def log(a: In): In
- def log10(a: In): In
- def log2(a: In): In
- def lt(a: In, b: In): Boolean
- def lteq(a: In, b: In): Boolean
- def max(a: In, b: In): In
- def midiCps(a: In): In
- def midiRatio(a: In): In
- def min(a: In, b: In): In
- def minus(a: In, b: In): In
- def mod(a: In, b: In): In
- final def ne(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- def negate(a: In): In
- final def neq(a: scala.Double, b: scala.Double): Boolean
- Definition Classes
- ScalarEqImpl → Eq
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def octCps(a: In): In
- def one: In
- def plus(a: In, b: In): In
- def pow(a: In, b: In): In
- def rand[Tx](a: In)(implicit r: Random[Tx], tx: Tx): In
A random number between zero (inclusive) and
a
(exclusive). - def rand2[Tx](a: In)(implicit r: Random[Tx], tx: Tx): In
- def rangeRand[Tx](a: In, b: In)(implicit r: Random[Tx], tx: Tx): In
- def ratioMidi(a: In): In
- def reciprocal(a: In): In
- def rem(a: In, b: In): In
- def roundTo(a: In, b: In): In
- def roundUpTo(a: In, b: In): In
- def signum(a: In): In
- def sin(a: In): In
- def sinh(a: In): In
- def sqrDif(a: In, b: In): In
- def sqrSum(a: In, b: In): In
- def sqrt(a: In): In
- def squared(a: In): In
- def sumSqr(a: In, b: In): In
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tan(a: In): In
- def tanh(a: In): In
- def times(a: In, b: In): In
- def toDouble(a: In): Double
- def toInt(a: In): Int
- def toLong(a: In): Long
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trunc(a: In, b: In): In
- final def wait(arg0: scala.Long, arg1: scala.Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: scala.Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def widen1(a: Double): Double
- def wrap(a: In, lo: In, hi: In): In
- def wrap2(a: In, b: In): In
- def write(out: DataOutput): Unit
- def zero: In
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated