Created
February 4, 2020 06:11
-
-
Save kaityo256/0ccb5f0218ff86827e635488ec020942 to your computer and use it in GitHub Desktop.
Intel Compiler vs. GCC
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 <random> | |
| int main() { | |
| std::mt19937 mt; | |
| std::uniform_real_distribution<> ud(0.0, 1.0); | |
| for (int j = 0; j <10000; j++) { | |
| for (int i = 0; i < 10000; i++) { | |
| if (i%2) ud(mt); | |
| } | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment