Search found 1 match

by Tanbir Ahmed
Mon Sep 02, 2002 11:37 am
Forum: C
Topic: how to deal with huge integers ?
Replies: 7
Views: 5056

Big Addition & Multiplication

You may find StrAdd and StrMul useful.
StrAdd adds two positive integers (<=8000 digits) and returns the result as a string.
StrMul multiplies two positive integers (<=2000 digits) and returns the result as a string.

If there are bugs, let me know.
[c]
int StrToInt(char *p, long *a, int ndigit ...

Go to advanced search