When I print pow(2, 20), the output is: 1.04858e+06
#include<iostream>
#include<cmath>
using namespace std;
int main(){
cout << pow(2, 20) << endl;
return 0;
}
How can I turn the output back to 1048576?
When I print pow(2, 20), the output is: 1.04858e+06
#include<iostream>
#include<cmath>
using namespace std;
int main(){
cout << pow(2, 20) << endl;
return 0;
}
How can I turn the output back to 1048576?