sealed trait Dense extends AnyRef
Typelevel representation of dense numbers, stored as a list of Dense.Digit
Author:
Harshad Deo
- Since
0.1
- Grouped
- Alphabetic
- By Inheritance
- Dense
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
type
Add[b <: Dense] <: Dense
Add to the number
Add to the number
Author:
Harshad Deo
- Since
0.1
-
type
Compare[B <: Dense] = CompareC[B, EQ]
Compares with the other dense number
Compares with the other dense number
Author:
Harshad Deo
- Since
0.1
-
abstract
type
CompareC[B <: Dense, Carry <: Comparison] <: Comparison
Author:
Harshad Deo
- Attributes
- protected
- Since
0.1
-
abstract
type
Dec <: Dense
Decrement the number
Decrement the number
Author:
Harshad Deo
- Since
0.1
-
abstract
type
ExpHelper[arg <: Dense, res <: Dense] <: Dense
Author:
Harshad Deo
- Attributes
- protected
- Since
0.1
-
abstract
type
Inc <: Dense
Increment the number
Increment the number
Author:
Harshad Deo
- Since
0.1
-
abstract
type
Karatsuba[x <: Dense, res <: Dense] <: Dense
Author:
Harshad Deo
- Attributes
- protected
- Since
0.1
-
abstract
type
Len <: Dense
Author:
Harshad Deo
- Attributes
- protected
- Since
0.1
-
abstract
type
Match[NonZero <: Up, IfZero <: Up, Up] <: Up
Typeconstructor for querying whether this is zero
Typeconstructor for querying whether this is zero
Author:
Harshad Deo
- Since
0.1
-
type
Mult[b <: Dense] = Mult.b.Match[Karatsuba[b, DNil], DNil, Dense]
Multiply with the number
Multiply with the number
Author:
Harshad Deo
- Since
0.1
-
abstract
type
ShiftL <: Dense
Unsigned left shift
Unsigned left shift
Author:
Harshad Deo
- Since
0.1
-
abstract
type
ShiftR <: Dense
Unsigned right shift
Unsigned right shift
Author:
Harshad Deo
- Since
0.1
-
abstract
type
Sq <: Dense
Square the number
Square the number
Author:
Harshad Deo
- Since
0.1
-
type
YodaExp[b <: Dense] = ExpHelper[b, _1]
Yoda exponent - to the power of the base, raise the exponent (this is the base).
Yoda exponent - to the power of the base, raise the exponent (this is the base). Implemented this way for efficiency
Author:
Harshad Deo
- Since
0.1
-
abstract
type
digit <: Digit
Lowest priority bit
Lowest priority bit
Author:
Harshad Deo
- Since
0.1
-
abstract
type
tail <: Dense
Rest of the bits, stored in reverse order or priority
Rest of the bits, stored in reverse order or priority
Author:
Harshad Deo
- Since
0.1
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Dense, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (Dense) ⇒ Boolean, msg: ⇒ Any): Dense
- def ensuring(cond: (Dense) ⇒ Boolean): Dense
- def ensuring(cond: Boolean, msg: ⇒ Any): Dense
- def ensuring(cond: Boolean): Dense
-
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] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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 →[B](y: B): (Dense, B)