Skip to content

Commit 5e8fb0f

Browse files
committed
feat: refactor calculate_pi_with_n_iterations function
1 parent 8558a67 commit 5e8fb0f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/pi.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
use auto_rust::auto_implement;
22

33
#[auto_implement]
4-
/// Take a deep breath, and implement this function.
5-
/// This function calculates pi with a reliable algorithm.
6-
/// don't use 'powi' method
7-
/// implement the best algorithm known by the humanity
8-
/// use all of your knowledge about rust optimizations
4+
/// Algoritmo basdo en trignometria para calcular el valor de pi
95
fn calculate_pi_with_n_iterations(n: u64) -> f64 {
106
todo!()
117
}

0 commit comments

Comments
 (0)