I'm in front of a problem that I'm supposed to print the result of :
5.1234 ^ 15
the result is :
43992025569.928573701266488041146654993318703707511666295476720493953024
using { cout<<variable; } where variable holds the result ..
the problem is the number is printed by scientefic way (exponential) or approximated
someone told me that i can store the value in a string and output the string itself, but gave no further explination ..
I doubt it. Referring to jsmith's post in the link you provided:
Well, you can't even compute the number to that many digits of precision, let alone output it. Your problem is in the computation of the number, not in the output of it.
Then there is this library: http://gmplib.org/ ... as posted by someone kinley.