Content deleted Content added
m Reverted edits by Hvestermark (talk) to last version by Koornti |
m Task 18 (cosmetic): eval 4 templates: del empty params (1×); |
||
Line 161:
==Pseudocode==
Here is the pseudocode for this algorithm, using numbers represented in base ten. For the binary representation of integers, it suffices to replace everywhere 10 by 2.<ref>{{cite book |last= Weiss |first= Mark A. |date= 2005 |title= Data Structures and Algorithm Analysis in C++
The second argument of the split_at function specifies the number of digits to extract from the ''right'': for example, split_at("12345", 3) will extract the 3 final digits, giving: high="12", low="345".
|