release/0.11.0#92
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.11.0 (2026-03-20)
breaking
t = tan(θ/2)rem()now derived fromtvia2.0 * t.atan()— values match within f64 precision but are no longer stored directlynormalize_boundaries()removed — boundary logic is algebraic in the tangent sum formulaDisplayfor Angle now showstinstead ofremadded
Angle::t()— projection ratio between adjacent π/2 bladesAngle::from_parts(blade, t)— direct construction from blade and projection ratioAngle::cos_sin()— rational cos/sin:cos = (1-t²)/(1+t²),sin = 2t/(1+t²). no trig callsAngle::near(&other)— floating point comparison within toleranceAngle::near_rad(radians)— grade_angle comparison within toleranceAngle::near_rem(radians)— remainder comparison within toleranceGeonum::near(&other)— magnitude + angle comparison within toleranceGeonum::near_mag(value)— magnitude comparison within tolerancechanged
Angle::new()converts π fractions totinternally — onetan()call at constructionAngle::new_from_cartesian()usest = opp/(hyp + adj)— one sqrt, no atan2Angle::geometric_add()uses tangent sum formula with rational boundary correction(T-1)/(T+1)Angle::geometric_sub()uses tangent difference formula with rational borrow(1-|R|)/(1+|R|)Angle::dual(),conjugate(),negate()simplified to blade arithmeticAngle::grade_angle()derives radians fromtviaatan()Angle::project()usescos_sin()instead ofgrade_angle().cos()Geonum::dot(),wedge(),cos(),sin(),distance_to(),project_to_angle()usecos_sin()Geonum::geo()computes singlecos_sin()for both dot and wedgeGeonumaddition uses rational projection pipeline: cos_sin (0 sqrts) → sum → magnitude (1 sqrt) → cartesian recovery (0 sqrts)performance