Last active
July 19, 2018 22:49
-
-
Save friedmud/2dd0e9b08cf766c16b7cd95fbc74ceeb to your computer and use it in GitHub Desktop.
thermal_test.C
This file contains 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 <thread> | |
int main() | |
{ | |
double stuff = 1.2; | |
int junk = 2; | |
for (unsigned long int i=0; i < 100000000; i++) | |
{ | |
for (unsigned long int j=0; j < 100000000; j++) | |
{ | |
stuff *= 1.3; | |
stuff += 2.2; | |
junk *= 2; | |
junk += 2; | |
} | |
} | |
std::cout << stuff << std::endl; | |
std::cout << junk << std::endl; | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @friedmud!
Could you publish the results here when you have them?
I know you're waiting for someone with the new macbook to run it ;)
Thanks!