Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 'matrix_statistics' Fortran benchmark #71 and Show a table of benchmark values on the Readme #66 #78

Closed
wants to merge 10 commits into from
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ Note that this refers to GNU Make, so BSD users will need to run `gmake`.
* R
* Rust
* Scala

## Results:
![JuliaLang Benchmarks](https://raw.githubusercontent.com/JuliaLang/www.julialang.org/main/_assets/images/benchmarks.svg)


2 changes: 1 addition & 1 deletion perf.f90
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ FUNCTION rnorm() RESULT( fn_val )
sum = u*u + v*v + vsmall ! vsmall added to prevent LOG(zero) / zero
IF(sum < one) EXIT
END DO
sln = SQRT(- SCALE( LOG(sum), 1 ) / sum)
sln = SQRT(- 2*LOG(sum) / sum)
fn_val = u*sln
END IF

Expand Down
Loading