Fix multiplication on 32 bit systems (#60)
This commit is contained in:
parent
d6435b37ef
commit
2a85ed2e40
|
@ -48,7 +48,7 @@ func extPrecAddMul[T: uint8 or uint16 or uint32](result: var UintImpl[T], x, y:
|
||||||
template extPrecMulImpl(result: var UintImpl[uint64], op: untyped, u, v: uint64) =
|
template extPrecMulImpl(result: var UintImpl[uint64], op: untyped, u, v: uint64) =
|
||||||
const
|
const
|
||||||
p = 64 div 2
|
p = 64 div 2
|
||||||
base = 1 shl p
|
base: uint64 = 1 shl p
|
||||||
|
|
||||||
var
|
var
|
||||||
x0, x1, x2, x3: uint64
|
x0, x1, x2, x3: uint64
|
||||||
|
|
Loading…
Reference in New Issue