Only functions allowed are write and malloc.
I need to be able to calculate something like 45645646554665466546546456456448798789456456465789745321321231231231231231231231231321231321231321231467 * 45645646554665466546546456456448798789456456465789745321321231231231231231231231231321231321231321231467 - (4564564655466546654654645645644879878945645646578974532132123123123123123123123123132123132123132123146745645646554665466546546456456448798789456456465789745321321231231231231231231231231321231321231321231467 + 456456465546654665465464564564487987894564564657897453213212312312312312312312312313212313212313212314674564564655466546654654645645644879878945645646578974532132123123123123123123123123132123132123132123146745645646554665466546546456456448798789456456465789745321321231231231231231231231231321231321231321231467)
How would I go about doing this(and in arbitrary bases to boot, ie. up to base 128 if necessary).
I'm thinking addition/subtraction/multiplication won't be too bad, just very tedious, but it seems like modulus/division will be trouble.