Created
May 6, 2015 15:41
-
-
Save syoyo/78f6ddb6f99deb49f8ae to your computer and use it in GitHub Desktop.
fmath performance(2015/05/06)
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
# K frontend | |
$ FCCpx -Kfast,nounroll,noswp exp_bench.cpp fmath.cpp | |
exp_bench.cpp: | |
fmath.cpp: | |
"fmath.cpp", line 30: warning: variable "fmath::local::LOG_TABLE_SIZE" was declared but never referenced | |
const size_t LOG_TABLE_SIZE = 12; | |
^ | |
# K native | |
$ ./a.out | |
exp 119.04 1.635514436087156064e+05 0.000000e+00 0.000000e+00 | |
fmath:exp(double) 21.89 1.635514436087156064e+05 7.572649e-16 1.774574e-16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment