This PR implements the Linpack benchmark in Rust. The Linpack benchmark is a measure of a computer's floating-point rate of execution. The implementation follows the algorithm used in the Go, JavaScript, and PHP implementations of the Linpack benchmark. The Rust code is placed in rust/linpack/Linpack.rs and includes necessary imports, constants, and functions.
Summary of Changes
Created rust/linpack/Linpack.rs file
Implemented Linpack benchmark in Rust, following the algorithm used in the Go, JavaScript, and PHP implementations
Used rust/primes/Atkin.rs and rust/mandelbrot/Simple.rs as a guide for Rust syntax and style
Updated rust/benchmark.yml to include the new Rust Linpack benchmark in the benchmark tests
Added necessary imports, constants, and functions to the Rust Linpack implementation
Implemented the main function to run the Linpack benchmark and print the results
Ensured code follows consistent Rust coding conventions and style
Please review and merge this PR.
Fixes #5.
π Latest improvements to Sweep:
Sweep can now passively improve your repository! Check out Rules to learn more.
π‘ To get Sweep to edit this pull request, you can:
Comment below, and Sweep can edit the entire PR
Comment on a file, Sweep will only modify the commented file
Edit the original issue to get Sweep to recreate the PR from scratch
PR Feedback (click)
Description
This PR implements the Linpack benchmark in Rust. The Linpack benchmark is a measure of a computer's floating-point rate of execution. The implementation follows the algorithm used in the Go, JavaScript, and PHP implementations of the Linpack benchmark. The Rust code is placed in
rust/linpack/Linpack.rs
and includes necessary imports, constants, and functions.Summary of Changes
rust/linpack/Linpack.rs
filerust/primes/Atkin.rs
andrust/mandelbrot/Simple.rs
as a guide for Rust syntax and stylerust/benchmark.yml
to include the new Rust Linpack benchmark in the benchmark testsPlease review and merge this PR.
Fixes #5.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: