[CLN-list] file input and cln number types

Joshua Friedman crowneagle at gmail.com
Thu Jul 15 03:33:27 CEST 2010


I have a text file like this:
16 8534483450280192
17 236164889075956560
18 -2445879764812789440
19 14227278615873217344
...
Integer paired with a very large integer. How do I read in from a file to
store the big integer in a cl_I type. I tried reading it in as a string, and
then I couldn't convert from a string to any of the types (cl_R, or cl_I).
Eventually I'll need it to be a float, which I should be able to use
cl_float() to convert from an exact type.

Thanks
Josh



-- 
Joshua Friedman PhD
CrownEagle at gmail.com
http://www.math.sunysb.edu/~joshua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/cln-list/attachments/20100714/4125e818/attachment.htm>


More information about the CLN-list mailing list