Skip to content

Commit

Permalink
Note rounding errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Oct 3, 2024
1 parent 663ac0e commit ac82471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ellipse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ impl Shape for Ellipse {
/// Approximate the ellipse perimeter.
///
/// This uses a numerical approximation. The absolute error between the calculated perimeter
/// and the true perimeter is bounded by `accuracy`.
/// and the true perimeter is bounded by `accuracy` (modulo floating point rounding errors).
///
/// For circular ellipses (equal horizontal and vertical radii), the calculated perimeter is
/// exact.
Expand Down

0 comments on commit ac82471

Please sign in to comment.