Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -11,13 +11,13 @@ public function long wf_ethiopianmultiplication (long al_multiplicand, long al_m
|
|||
long ll_product
|
||||
|
||||
DO WHILE al_multiplicand >= 1
|
||||
IF wf_iseven(al_multiplicand) THEN
|
||||
// do nothing
|
||||
ELSE
|
||||
ll_product += al_multiplier
|
||||
END IF
|
||||
al_multiplicand = wf_halve(al_multiplicand)
|
||||
al_multiplier = wf_double(al_multiplier)
|
||||
IF wf_iseven(al_multiplicand) THEN
|
||||
// do nothing
|
||||
ELSE
|
||||
ll_product += al_multiplier
|
||||
END IF
|
||||
al_multiplicand = wf_halve(al_multiplicand)
|
||||
al_multiplier = wf_double(al_multiplier)
|
||||
LOOP
|
||||
|
||||
return ll_product
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue