File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -557,10 +557,10 @@ impl f128 {
557
557
558
558
/// Computes the four quadrant arctangent of `self` (`y`) and `other` (`x`) in radians.
559
559
///
560
- /// * `x = 0`, `y = 0`: `0 `
561
- /// * `x >= 0`: `arctan(y/x)` -> `[- pi/2, pi/2 ]`
562
- /// * `y >= 0`: `arctan(y/x) + pi` -> `( pi/2, pi ]`
563
- /// * `y < 0`: `arctan(y/x) - pi` -> `( -pi, -pi/2) `
560
+ /// * `x >= + 0`, `y >= + 0`: `[+0, +pi/2] `
561
+ /// * `x >= +0`, `y <= -0`: `[+ pi/2, +pi ]`
562
+ /// * `x <= -0`, `y >= +0`: `[- pi/2, -0 ]`
563
+ /// * `x <= -0`, `y <= -0`: `[ -pi, -pi/2] `
564
564
///
565
565
/// # Unspecified precision
566
566
///
Original file line number Diff line number Diff line change @@ -522,10 +522,10 @@ impl f16 {
522
522
523
523
/// Computes the four quadrant arctangent of `self` (`y`) and `other` (`x`) in radians.
524
524
///
525
- /// * `x = 0`, `y = 0`: `0 `
526
- /// * `x >= 0`: `arctan(y/x)` -> `[- pi/2, pi/2 ]`
527
- /// * `y >= 0`: `arctan(y/x) + pi` -> `( pi/2, pi ]`
528
- /// * `y < 0`: `arctan(y/x) - pi` -> `( -pi, -pi/2) `
525
+ /// * `x >= + 0`, `y >= + 0`: `[+0, +pi/2] `
526
+ /// * `x >= +0`, `y <= -0`: `[+ pi/2, +pi ]`
527
+ /// * `x <= -0`, `y >= +0`: `[- pi/2, -0 ]`
528
+ /// * `x <= -0`, `y <= -0`: `[ -pi, -pi/2] `
529
529
///
530
530
/// # Unspecified precision
531
531
///
Original file line number Diff line number Diff line change @@ -826,10 +826,10 @@ impl f32 {
826
826
827
827
/// Computes the four quadrant arctangent of `self` (`y`) and `other` (`x`) in radians.
828
828
///
829
- /// * `x = 0`, `y = 0`: `0 `
830
- /// * `x >= 0`: `arctan(y/x)` -> `[- pi/2, pi/2 ]`
831
- /// * `y >= 0`: `arctan(y/x) + pi` -> `( pi/2, pi ]`
832
- /// * `y < 0`: `arctan(y/x) - pi` -> `( -pi, -pi/2) `
829
+ /// * `x >= + 0`, `y >= + 0`: `[+0, +pi/2] `
830
+ /// * `x >= +0`, `y <= -0`: `[+ pi/2, +pi ]`
831
+ /// * `x <= -0`, `y >= +0`: `[- pi/2, -0 ]`
832
+ /// * `x <= -0`, `y <= -0`: `[ -pi, -pi/2] `
833
833
///
834
834
/// # Unspecified precision
835
835
///
Original file line number Diff line number Diff line change @@ -826,10 +826,10 @@ impl f64 {
826
826
827
827
/// Computes the four quadrant arctangent of `self` (`y`) and `other` (`x`) in radians.
828
828
///
829
- /// * `x = 0`, `y = 0`: `0 `
830
- /// * `x >= 0`: `arctan(y/x)` -> `[- pi/2, pi/2 ]`
831
- /// * `y >= 0`: `arctan(y/x) + pi` -> `( pi/2, pi ]`
832
- /// * `y < 0`: `arctan(y/x) - pi` -> `( -pi, -pi/2) `
829
+ /// * `x >= + 0`, `y >= + 0`: `[+0, +pi/2] `
830
+ /// * `x >= +0`, `y <= -0`: `[+ pi/2, +pi ]`
831
+ /// * `x <= -0`, `y >= +0`: `[- pi/2, -0 ]`
832
+ /// * `x <= -0`, `y <= -0`: `[ -pi, -pi/2] `
833
833
///
834
834
/// # Unspecified precision
835
835
///
You can’t perform that action at this time.
0 commit comments