Created
June 25, 2017 06:17
-
-
Save pkofod/81435213366a19fc5a0d6ce4f1c64c4d 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
pkm@pkm:~/.julia/v0.6/RemPiO2$ julia6 -O3 test/runtests.jl | |
Testing speed and accuracy of rempio2 in [-pi*9/4, pi*9/4] | |
---------------------------------------------------------- | |
Numbers below are elapsed time returned from @belapsed | |
Every number is checked between the two implementations | |
using a @test such that any difference results in termi- | |
nation of the program. | |
(1) -> New rempio2 | |
(2) -> Old rempio2 | |
(3) -> (1)/(2) | |
interval (1) (2) (3) | |
----------------------------------------- | |
Testing values in [-pi*9/4, pi*9/4] | |
1 0.00095 0.00404 0.23493 | |
2 0.00095 0.00409 0.23335 | |
3 0.00095 0.00407 0.23324 | |
4 0.00095 0.00407 0.23434 | |
5 0.00095 0.00403 0.23586 | |
6 0.00095 0.00408 0.23322 | |
7 0.00095 0.00403 0.23550 | |
8 0.00095 0.00404 0.23550 | |
9 0.00095 0.00406 0.23402 | |
10 0.00095 0.00411 0.23180 | |
11 0.00095 0.00406 0.23397 | |
12 0.00096 0.00409 0.23377 | |
13 0.00095 0.00381 0.24948 | |
14 0.00095 0.00382 0.24983 | |
15 0.00095 0.00396 0.24028 | |
16 0.00095 0.00377 0.25246 | |
17 0.00095 0.00389 0.24516 | |
18 0.00095 0.00377 0.25294 | |
Testing values in [-22.0^20, -pi*9/4] and [pi*9/4, 2.0^20] | |
1 0.00095 0.00404 0.23493 | |
2 0.00095 0.00409 0.23335 | |
3 0.00095 0.00407 0.23324 | |
4 0.00095 0.00407 0.23434 | |
5 0.00095 0.00403 0.23586 | |
6 0.00095 0.00408 0.23322 | |
7 0.00095 0.00403 0.23550 | |
8 0.00095 0.00404 0.23550 | |
Testing values in [-2.0^70, -pi*9/4] and [pi*9/4, 2.0^70] | |
1 0.00095 0.00404 0.23493 | |
2 0.00095 0.00409 0.23335 | |
3 0.00095 0.00407 0.23324 | |
4 0.00095 0.00407 0.23434 | |
5 0.00095 0.00403 0.23586 | |
6 0.00095 0.00408 0.23322 | |
7 0.00095 0.00403 0.23550 | |
8 0.00095 0.00404 0.23550 | |
9 0.00095 0.00406 0.23402 | |
10 0.00095 0.00411 0.23180 | |
11 0.00095 0.00406 0.23397 | |
12 0.00096 0.00409 0.23377 | |
13 0.00095 0.00381 0.24948 | |
14 0.00095 0.00382 0.24983 | |
15 0.00095 0.00396 0.24028 | |
16 0.00095 0.00377 0.25246 | |
17 0.00095 0.00389 0.24516 | |
18 0.00095 0.00377 0.25294 | |
19 0.00141 0.00401 0.35149 | |
20 0.00141 0.00401 0.35166 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment