final
class
DCons[d <: Digit, T <: Dense] extends Dense
Instance Constructors
-
new
DCons()
Type Members
-
type
Add[b <: Dense] = Add.b.Match[AddNz[b], ::[d, T], Dense]
-
type
Add1[b <: Dense] = Dense.digit.Match[::[D0, Dense.Add.Inc], ::[d, T.Add[Add1.b.tail]], Dense]
-
type
AddNz[b <: Dense] = d.Match[Add1[b], ::[AddNz.b.digit, T.Add[AddNz.b.tail]], Dense]
-
-
type
CompareC[B <: Dense, Carry <: Comparison] = CompareC.B.Match[T.CompareC[CompareC.B.tail, NewCarry[Carry, CompareC.B.digit]], GT, Comparison]
-
type
Dec = d.Match[T.Match[::[D0, T], DNil, Dense], ::[D1, T.Dec], Dense]
-
type
ExpHelper[arg <: Dense, res <: Dense] = T.ExpHelper[ExpHelper.arg.Sq, d.Match[*[res, arg], res, Dense]]
-
type
Inc = d.Match[::[D0, T.Inc], ::[D1, T], Dense]
-
type
Karatsuba[x <: Dense, res <: Dense] = T.Karatsuba[Karatsuba.x.ShiftL, d.Match[+[x, res], res, Dense]]
-
type
Len = Dense.Len.Match[Dense.digit.Match[DCons[D0, Dense.tail.Inc], DCons[D1, Dense.Len.tail], Dense], DCons[D1, DNil], Dense]
-
type
Match[NonZero <: Up, IfZero <: Up, Up] = NonZero
-
-
type
NewCarry[prev <: Comparison, od <: Digit] = Digit.Compare.Match[LT, prev, GT, Comparison]
-
-
type
ShiftR = T
-
type
Sq = T.Karatsuba[DCons[D0, DCons[d, T]], d.Match[DCons[d, T], DNil, Dense]]
-
-
type
digit = d
-
type
tail = T
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (DCons[d, T], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (DCons[d, T]) ⇒ Boolean, msg: ⇒ Any): DCons[d, T]
-
def
ensuring(cond: (DCons[d, T]) ⇒ Boolean): DCons[d, T]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): DCons[d, T]
-
def
ensuring(cond: Boolean): DCons[d, T]
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (DCons[d, T], B)
Inherited by implicit conversion any2stringadd from
DCons[d, T] to any2stringadd[DCons[d, T]]
Inherited by implicit conversion StringFormat from
DCons[d, T] to StringFormat[DCons[d, T]]
Inherited by implicit conversion Ensuring from
DCons[d, T] to Ensuring[DCons[d, T]]
Inherited by implicit conversion ArrowAssoc from
DCons[d, T] to ArrowAssoc[DCons[d, T]]
Operations
Representation
Ungrouped
Non-zero dense number. The digit is the least significant bit
Author:
Harshad Deo
Lowest priority bit
Rest of the bits, in decreasing order of priority
0.1