spire
.
math
Number
sealed
trait
Number
extends
ScalaNumber
with
ScalaNumericConversions
with
Serializable
Linear Supertypes
Serializable
,
ScalaNumericConversions
,
ScalaNumericAnyConversions
,
ScalaNumber
,
java.lang.Number
,
Serializable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Number
Serializable
ScalaNumericConversions
ScalaNumericAnyConversions
ScalaNumber
Number
Serializable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
*
(
rhs:
Number
)
:
Number
abstract
def
+
(
rhs:
Number
)
:
Number
abstract
def
-
(
rhs:
Number
)
:
Number
abstract
def
/
(
rhs:
Number
)
:
Number
abstract
def
===
(
rhs:
Number
)
:
Boolean
abstract
def
abs
:
Number
abstract
def
canBeInt
:
Boolean
abstract
def
canBeLong
:
Boolean
abstract
def
ceil
:
Number
abstract
def
compare
(
rhs:
Number
)
:
Int
abstract
def
doubleValue
()
:
Double
Definition Classes
ScalaNumericAnyConversions
abstract
def
floatValue
()
:
Float
Definition Classes
ScalaNumericAnyConversions
abstract
def
floor
:
Number
abstract
def
intValue
()
:
Int
Definition Classes
ScalaNumericAnyConversions
abstract
def
isExact
:
Boolean
abstract
def
isWhole
()
:
Boolean
Definition Classes
ScalaNumericAnyConversions
abstract
def
longValue
()
:
Long
Definition Classes
ScalaNumericAnyConversions
abstract
def
pow
(
rhs:
Number
)
:
Number
abstract
def
round
:
Number
abstract
def
signum
:
Int
abstract
def
toBigDecimal
:
BigDecimal
abstract
def
toBigInt
:
BigInt
abstract
def
toRational
:
Rational
abstract
def
unary_-
()
:
Number
abstract
def
underlying
()
:
AnyRef
Definition Classes
ScalaNumericConversions → ScalaNumericAnyConversions → ScalaNumber
abstract
def
withinDouble
:
Boolean
abstract
def
withinInt
:
Boolean
abstract
def
withinLong
:
Boolean
Concrete Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
&
(
rhs:
Number
)
:
Number
final
def
**
(
rhs:
Number
)
:
Number
final
def
<
(
rhs:
Number
)
:
Boolean
def
<<
(
rhs:
Number
)
:
Number
final
def
<=
(
rhs:
Number
)
:
Boolean
def
=!=
(
rhs:
Number
)
:
Boolean
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
>
(
rhs:
Number
)
:
Boolean
final
def
>=
(
rhs:
Number
)
:
Boolean
def
>>
(
rhs:
Number
)
:
Number
def
^
(
rhs:
Number
)
:
Number
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
byteValue
()
:
Byte
Definition Classes
Number
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isValidByte
:
Boolean
Definition Classes
ScalaNumericAnyConversions
def
isValidChar
:
Boolean
Definition Classes
ScalaNumericAnyConversions
def
isValidInt
:
Boolean
Definition Classes
ScalaNumericAnyConversions
def
isValidShort
:
Boolean
Definition Classes
ScalaNumericAnyConversions
def
max
(
rhs:
Number
)
:
Number
def
min
(
rhs:
Number
)
:
Number
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
shortValue
()
:
Short
Definition Classes
Number
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toByte
:
Byte
Definition Classes
ScalaNumericAnyConversions
def
toChar
:
Char
Definition Classes
ScalaNumericAnyConversions
def
toDouble
:
Double
Definition Classes
ScalaNumericAnyConversions
def
toFloat
:
Float
Definition Classes
ScalaNumericAnyConversions
def
toInt
:
Int
Definition Classes
ScalaNumericAnyConversions
def
toLong
:
Long
Definition Classes
ScalaNumericAnyConversions
def
toShort
:
Short
Definition Classes
ScalaNumericAnyConversions
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unifiedPrimitiveEquals
(
x:
Any
)
:
Boolean
Attributes
protected
Definition Classes
ScalaNumericAnyConversions
def
unifiedPrimitiveHashcode
()
:
Int
Attributes
protected
Definition Classes
ScalaNumericAnyConversions
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
|
(
rhs:
Number
)
:
Number
Inherited from
Serializable
Inherited from
ScalaNumericConversions
Inherited from
ScalaNumericAnyConversions
Inherited from
ScalaNumber
Inherited from
java.lang.Number
Inherited from
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped