diff --git a/agb-fixnum/src/lib.rs b/agb-fixnum/src/lib.rs index 2bb653a6..89d9b7bc 100644 --- a/agb-fixnum/src/lib.rs +++ b/agb-fixnum/src/lib.rs @@ -431,7 +431,7 @@ impl Num { Num(self.0.fixed_abs()) } - /// Calculates the cosign of a fixed point number with the domain of [0, 1]. + /// Calculates the cosine of a fixed point number with the domain of [0, 1]. /// see /// ``` /// # use agb_fixnum::*; @@ -462,7 +462,7 @@ impl Num { x } - /// Calculates the sign of a number with domain of [0, 1]. + /// Calculates the sine of a number with domain of [0, 1]. /// ``` /// # use agb_fixnum::*; /// let n: Num = num!(0.); // 0 radians @@ -681,7 +681,7 @@ impl Vector2D> { } /// Calculates the magnitude of a vector using the alpha max plus beta min - /// algorithm https://en.wikipedia.org/wiki/Alpha_max_plus_beta_min_algorithm + /// algorithm /// this has a maximum error of less than 4% of the true magnitude, probably /// depending on the size of your fixed point approximation /// ```