geom.polynomial green
- Layer
- 3
- Upstream lines
- 386
- Functions
- 4
- Rust module
geom::polynomial
Status history
- todo 386 lines
- green 386 lines
Source: crates/solidcore/src/geom/polynomial.rs
Upstream: source/SMLib/src/SmPolynomial.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
4 fns; largest: SmPolynomial::SolveQuarticEqn, SmPolynomial::SolveQuadraticEqn, SmPolynomial::SolveCubicEqn, sm_AddSolution; unit-SCC #22 (220 units); 319 upstream test entry points reach this unit; GREEN: difftest 6038 cases (38 fixture from my_test_polynomial + edge cases, 6000 generated), all bit-identical, 0 deferred, perturb SENSITIVE; no UNPORTED(geom.polynomial) stubs to wire
Goldens
This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.
- Golden records
- 6,038
- Stored error outcomes
- 0
- Stored deferrals
- 0
- Stored harness rejections
- 0
- Known-failure entries
- 0
Metadata counts describe fields in the stored records; they are not passes or live failures.
Source at f9704ee3b:
golden JSONL ·
known-failure list.
Dependencies
Depends on: geom.vector3d green
Soft dependencies: none
Dependents: blend.identify_fillet green
Soft dependents: curve.conic green curve.ellipse_p1 green geom.geom_utility_p1 green nurbs.b_spline_curve_p1 green surface.surface_p2 partial
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmPolynomial::SolveQuadraticEqn | SmPolynomial.cpp:25 | 101 | [solve_quadratic] |
SmPolynomial::SolveCubicEqn | SmPolynomial.cpp:140 | 99 | [solve_cubic] |
sm_AddSolution | SmPolynomial.cpp:246 | 18 | add_solution (private) |
SmPolynomial::SolveQuarticEqn | SmPolynomial.cpp:279 | 168 | [solve_quartic] |
Module file-header table (5 rows)
| Rust | Upstream |
|---|---|
[Roots] | ULONG rlNumSolutions + double adSolutions[] |
[solve_quadratic] | SmPolynomial::SolveQuadraticEqn |
[solve_cubic] | SmPolynomial::SolveCubicEqn |
[solve_quartic] | SmPolynomial::SolveQuarticEqn |
add_solution (private) | sm_AddSolution (static) |
Upstream tests reaching this unit
prog_test:my_test_polynomial, SM_API_test:TestSmPrincipalDirectionPairing, prog_test:my_test_surface_closest_point, prog_test:my_test_drop_point, prog_test:my_test_matrix, prog_test:my_test_reversed_line_join