Created
April 18, 2017 07:46
-
-
Save yanjinbin/c25a1b8166519e2c0685ba415ed9bc5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main(){ | |
const float x =1.1; | |
const float z = 1.123; | |
float y = x; | |
for(int j=0;j<90000000;j++){ | |
y*=x; | |
y/=z; | |
y+=0.1f; | |
y-=0.1f; | |
} | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment