C
Christopher
I am trying to calculate a number of sums a double can hold with a max
addend of x. I performed the following computation:
cout<<std::numeric_limits<double>::max()<<endl;
cout<<std::numeric_limits<double>::max() / x<<endl;
when x = 10 I got the following output:
4294967295
1.79769e+307
is the computation to find the number of computations itself overflowing?
How can I accomplish my goal?
I am trying to do this to effectivley write a test program to average the
results of a function and need to figure how many iterations to do before
division.
Thank you,
Christopher
addend of x. I performed the following computation:
cout<<std::numeric_limits<double>::max()<<endl;
cout<<std::numeric_limits<double>::max() / x<<endl;
when x = 10 I got the following output:
4294967295
1.79769e+307
is the computation to find the number of computations itself overflowing?
How can I accomplish my goal?
I am trying to do this to effectivley write a test program to average the
results of a function and need to figure how many iterations to do before
division.
Thank you,
Christopher