I'm using arbitrary precision integers in TCL 8.6.
For example:
set x [expr {10**1000}]
How can I save this number to binary? The binary format command doesn't seem to work for this.
I also need to be able to read the number back in later.
I know I can use a loop doing x & 0XFFFF and x >> 16 to dump each word one at a time, but I thought maybe there an efficient was a way to dump the memory directly.
Any ideas?
binary formatpls.? - mrcalvin0and1) or to actual binary data? - Donal Fellows