Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit ef47df3

Browse files
committed
rustfmt
1 parent bf94d54 commit ef47df3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/math/atan2.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ fn sanity_check() {
7676
assert_eq!(atan2(0.0, 1.0), 0.0);
7777
assert_eq!(atan2(0.0, -1.0), PI);
7878
assert_eq!(atan2(-0.0, -1.0), -PI);
79-
assert_eq!(atan2(3.0, 2.0), atan(3.0/2.0));
80-
assert_eq!(atan2(2.0, -1.0), atan(2.0/-1.0) + PI);
81-
assert_eq!(atan2(-2.0, -1.0), atan(-2.0/-1.0) - PI);
79+
assert_eq!(atan2(3.0, 2.0), atan(3.0 / 2.0));
80+
assert_eq!(atan2(2.0, -1.0), atan(2.0 / -1.0) + PI);
81+
assert_eq!(atan2(-2.0, -1.0), atan(-2.0 / -1.0) - PI);
8282
}
83-

0 commit comments

Comments
 (0)