Automatical formatting

This commit is contained in:
cscherrNT 2024-01-12 12:20:16 +00:00 committed by github-actions[bot]
parent 3c62c7cadf
commit 256d8416bb
1 changed files with 4 additions and 2 deletions

View File

@ -25,11 +25,13 @@ fn main() {
let fr = fast_inverse_sqrt(n);
let fdur = start.elapsed();
println!("regular\tinverse square root of {n}: {rr}\t(took {rdur:?})\n\
println!(
"regular\tinverse square root of {n}: {rr}\t(took {rdur:?})\n\
fast \tinverse square root of {n}: {fr}\t(took {fdur:?})\n\n\
The timings are not accurate. Benchmarks show ~170 ps for each.\n\
The CPU has a instruction for sqrt, and 1/x is simple division, so\n\
an algorithm like fast inverse square root can hardly be faster.");
an algorithm like fast inverse square root can hardly be faster."
);
}
fn usage(invocation: &str) {