Skip to content

Commit 38f4a25

Browse files
committed
renamed bhaskara to quadratic_roots
1 parent 7aad2d9 commit 38f4a25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//
2-
// bhaskara.hk
2+
// quadratic_roots.hk
33
//
44

55
import { sqrt } from math;
66

7-
fn bhaskara(a, b, c) {
7+
fn quadratic_roots(a, b, c) {
88
let d = b * b - 4 * a * c;
99
if (d < 0)
1010
return nil;
@@ -14,4 +14,4 @@ fn bhaskara(a, b, c) {
1414
return [x1, x2];
1515
}
1616

17-
println(bhaskara(1, 3, 2));
17+
println(quadratic_roots(1, 3, 2));

0 commit comments

Comments
 (0)