Scala Library
|
|
scala/runtime/RichDouble.scala
]
final
class
RichDouble(x : Double)
extends
Proxy with
Ordered[Double]Method Summary | |
def
|
abs : Double |
def
|
ceil : Double |
def
|
compare
(y : Double) : Int
Result of comparing
this with operand that .
returns x where
x < 0 iff this < that
x == 0 iff this == that
x > 0 iff this > that |
def
|
floor : Double |
def
|
isInfinity : Boolean |
def
|
isNegInfinity : Boolean |
def
|
isPosInfinity : Boolean |
def
|
max (y : Double) : Double |
def
|
min (y : Double) : Double |
def
|
round : Long |
def
|
self : Any |
def
|
to
(end : Double) : Partial[Double, NumericRange[Double]]
See
BigDecimal.to . |
def
|
to
(end : Double, step : Double) : NumericRange[Double]
See
BigDecimal.to . |
def
|
toDegrees
: Double
Converts an angle measured in radians to an approximately equivalent
angle measured in degrees
|
def
|
toRadians
: Double
Converts an angle measured in degrees to an approximately equivalent
angle measured in radians.
|
def
|
until
(end : Double) : Partial[Double, NumericRange[Double]]
See
BigDecimal.until . |
def
|
until
(end : Double, step : Double) : NumericRange[Double]
See
BigDecimal.until . |
Methods inherited from Ordered | |
<, >, <=, >=, compareTo |
Methods inherited from Proxy | |
hashCode, equals, toString |
Methods inherited from AnyRef | |
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
self : Any
this
with operand that
.
returns x
where
x < 0
iff this < that
x == 0
iff this == that
x > 0
iff this > that
def
abs : Double
def
round : Long
def
ceil : Double
def
floor : Double
def
until(end : Double) : Partial[Double, NumericRange[Double]]
BigDecimal.until
.
def
until(end : Double, step : Double) : NumericRange[Double]
BigDecimal.until
.
def
to(end : Double) : Partial[Double, NumericRange[Double]]
BigDecimal.to
.
def
to(end : Double, step : Double) : NumericRange[Double]
BigDecimal.to
.
def
toRadians : Double
x -
an angle, in degreesx
in radians.
def
toDegrees : Double
x -
angle, in radiansx
in degrees.
def
isInfinity : Boolean
def
isPosInfinity : Boolean
def
isNegInfinity : Boolean
Scala Library
|
|