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(a)gmail.com
http://www.math.sunysb.edu/~joshua
I successfully compiled CLN-1.3.1 with Microsoft Visual C++. You can find an account of my adventures on http://sourceforge.net/apps/mediawiki/ooo-imath/index.php?title=Installatio…
The benchmarks, examples and tests compile and both tests claim to pass successfully.
Since I am not an expert programmer, I have no idea if my source code modifications are acceptable or "evil".
Have fun,
Jan
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(a)gmail.com
http://www.math.sunysb.edu/~joshua