Long multiplication: Difference between revisions
m
→{{header|C sharp|C#}}: removed unnecessary string constants
(→{{header|C sharp|C#}}: Rewrote the entire program to use a pair of decimals instead of BigInteger, removed warning. BigInteger still used for checking result.) |
m (→{{header|C sharp|C#}}: removed unnecessary string constants) |
||
Line 1,554:
if ((exp & 1) == 0) return tmp; return tmp * bas; }
static void Main(string[] args) {
for (uint p = 64; p < 95; p += 30) { // show prescribed output and maximum power of 2 output
bi x = set4sq(a = Pow_dec(2M, p)), y; // setup for squaring process
|