Hi Everyone,
I'm having some trouble dealing with large numbers in C. I'm reading in numbers in log format (eg 34 = 10^34), and using
y = pow(10, x);
to convert number x to the real value.
My numbers are typically 34-40 (so 10^34 - 10^40), and I keep getting infinities.
Anyone have any ideas?
I'm having some trouble dealing with large numbers in C. I'm reading in numbers in log format (eg 34 = 10^34), and using
y = pow(10, x);
to convert number x to the real value.
My numbers are typically 34-40 (so 10^34 - 10^40), and I keep getting infinities.
Anyone have any ideas?