The involute function and its inverse in IEEE 754 double precision: measured and proved accuracy, and its effect on gear inspection
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.
Tom: We're looking at the paper: "The involute function and its inverse in IEEE 754 double precision".
Paper summary: Tom: So we're looking at this paper by Prestridge on "The involute function and its inverse in IEEE seven hundred fifty-four double precision: measured and proved accuracy, and its effect on gear inspection" <ref:2611.33251#pg1,The involute function and its inverse in IEEE 754 double precision: measured>. Basically the whole thesis is about how much error you get when you use the standard way of calculating gear curves, which involves that involute function.
Jane: Right. And what they are really claiming is that most of our current methods for calculating this function have these big problems, especially when we look at how computers actually handle those numbers.
Lu: They point out that almost every spur or helical gear calculation uses the formula inv(alpha) equals tan alpha minus alpha or its inverse, and near zero angle, those two parts almost cancel each other out, which is a huge issue for computer precision.
Meng: I mean it’s not just a math problem for them; it’s about the real-world cost. They show how these small errors in that function translate into physical mistakes in manufacturing and inspection that can be as big as twenty-five to forty point five micrometers over pins, or twenty four point six micrometers in the center distance of a shifted pair <ref:2611.33251#pg15>.
Lalam: And they are addressing the problem of platform dependence, which is when you run the same calculation on different computers and get slightly different results because of how those systems handle rounding or things like tan <ref:2611.33251#pg2>.
Tom: Exactly. They say that naive implementations, like those using binary thirty-two or fixed point formats, suffer from cancellation for small angles, which means they lose digits fast if the angle is tiny <ref:2611.33251#pg2>.
Jane: And they also bring up short formats, which are what you see in embedded controllers or machine learning accelerators, meaning they just don't have enough starting digits to begin with <ref:2611.33251#pg2>.
Lu: The authors introduce a proprietary implementation for the forward involute function in binary sixty-four bits that returns the correctly rounded double at fifty thousand committed test angles, and it finds the largest error against an eighty digit reference is zero point four nine nine nine six eight one units in the last place <ref:2611.33251#pg3>.
Paper summary: Meng: That level of accuracy—zero point four nine nine nine six eight one units—against an eighty digit reference sounds like a lot to ship to production, but I gotta ask, is that number reliable across different hardware?
Lalam: They did test it on xeighty-six sixty-four and arm sixty-four linux and apple silicon macos and aws lambda across two language runtimes, and they said the outputs were bit identical <ref:2611.33251#pg9>.
Jane: That’s good because it addresses that platform dependence we talked about earlier; they showed consistency across those different systems <ref:2611.33251#pg9>.
Tom: So, the inverse involute function is also handled well for a range where it makes sense, specifically for the input values y between one zero and two hundred <ref:2611.33251#pg4>.
Lu: They proved that this inverse function is faithfully rounded with an error at most zero point six units in the last place over that range <ref:2611.33251#pg4>.
Jane: And they didn't just claim it; they used interval arithmetic and the SMT solver z three to prove it, and there’s this bracket around the root that is proved to contain the error for inputs between zero and one zero point six units in the last place <ref:2611.33251#pg4>.
Meng: Proof is good, but what about the practical application on a real production line? Can we actually rely on this inverse function when we're doing complex gear design, or is this just for inspection?
Lalam: The paper maps real gear geometry onto the input ranges of these functions and shows exactly the size of those errors in micrometers in inspection, manufacturing, and computer-aided design <ref:2611.33251#pg3>.
Tom: And they compared their inverse method against public methods like Newton iterations over a gear range from zero point five degrees to sixty degrees <ref:2611.33251#pg6>.
Jane: The result they found is that this proprietary inverse method achieves an error of zero point five three five units in the last place over the gear range, which is inside the proved bound of zero point six units <ref:2611.33251#pg12>.
Lu: They also included a mapping section showing how to take real geometry, say from five to five hundred for the gear size and fourteen point five degrees for the pressure angle alpha to thirty degrees, onto those input ranges <ref:2611.33251#pg3>.
Meng: It’s interesting that they showed how shortcut inverse formulas can cost twenty-five to forty point two five micrometers over pins <ref:2611.33251#pg15>. That’s a lot of material loss if you're trying to maintain tight tolerances on gear components.
Paper summary: Jane: So, for someone just listening who isn't deep in the math, what does this mean for them? It means that using the standard shortcut formulas for gear inverse calculations could lead to physical errors measured in micrometers during manufacturing <ref:2611.33251#pg15>.
Tom: The core point from "The involute function and its inverse in IEEE seven hundred fifty-four double precision: measured and proved accuracy, and its effect on gear inspection" is that the arithmetic itself isn't the main hazard, but how you set up your inputs matters a lot <ref:2611.33251#pg23>.
Lu: They stress that software should warn or refuse to draw an impossible gear model rather than just drawing one and letting it fail later <ref:2611.33251#pg23>.
Jane: So, the overall implication is that this research gives practical guidance on how to avoid those impossible CAD models by checking the inputs before you let the calculation run <ref:2611.33251#pg4>.
Tom: They also confirmed that the forward function was measured to be correctly rounded at all fifty thousand tested angles <ref:2611.33251#pg9>.
Lu: And they proved the inverse is faithfully rounded for that range where it’s claimed, which is zero point one zero to two hundred <ref:2611.33251#pg4>.
Jane: So, to wrap up this discussion on "The involute function and its inverse in IEEE seven hundred fifty-four double precision: measured and proved accuracy, and its effect on gear inspection", the authors show that while their specific implementation is accurate across many platforms, the biggest risk for engineers isn't just the math itself but making sure your input values are sensible <ref:2611.33251#pg23>.
Meng: It sounds like they’ve done a good job showing what actually breaks when you try to use simpler versions of these functions at scale <ref:2611.33251#pg4>.
Tom: Yeah, the work gives practical guidance that standard mid-flank pin sizes avoid getting that gain of up to forty point six over the envelope when you’re dealing with low contact points <ref:2611.33251#pg37>.
Lu: They’ve proven the forward function is correctly rounded at all fifty thousand tested angles, which is a strong experimental result <ref:2611.33251#pg9>.
Jane: So for anyone listening who only cares about the outcome, it means using this paper means you should be careful about your input checks to avoid getting physically impossible gear designs <ref:2611.33251#pg23>.
Conclusion: Tom: So we've looked at how this paper tackles the involute function and its inverse when you're dealing with double precision numbers for gear calculations, right?
Jane: Exactly. The authors are looking at how accurate those standard formulas actually are when computers use them, and they’re showing that a lot of the problems aren't just in the math itself but in how we set up our inputs.
Lu: They introduced a proprietary way to calculate the forward involute function in sixty-four bits and they tested it at fifty thousand angles, getting an error of zero point four nine nine nine six eight one units in the last place against an eighty digit reference.
Meng: That’s a lot of testing for what sounds like a very specific niche calculation. Does that proprietary method work on the actual production floor, or is this just academic proof?
Lalam: The authors proved that the inverse function is faithfully rounded for input values between one zero and two hundred in the last place, and they even used interval arithmetic to back up that claim.
Tom: So what does this mean for an engineer out there trying to design a gear? If you use the standard shortcut formulas instead of this method, how much physical error are you actually introducing?
Jane: They showed that those shortcut inverse formulas can cost twenty-five to forty point two five micrometers over pins, and twenty four point six micrometers in the center distance of a shifted pair. That’s a real material loss in manufacturing.
Lu: They also pointed out that software should warn you or refuse to draw an impossible gear model instead of just drawing one and letting it fail later because the inputs are wrong.
Meng: So for someone shipping models, it means double-checking those initial geometry inputs is critical before you let the calculation run to avoid bad designs.
Tom: It seems like the core message is that the setup and input checks are more important than just having a perfect calculation engine, right? And they measured the forward function as correctly rounded at all fifty thousand tested angles.
Jane: That’s what they did, yes. But now we need to look at how this translates into real-world design constraints and what it means for the next steps in gear inspection.
Evolvent Design, LLC
cs.MS
Submitted: 2026-11-24
Updated: 2026-11-27
Comments: 38 pages, 7 figures, 15 tables. Results only: the solver method is proprietary and not described. Test vectors (CC BY 4.0): https://doi.org/10.5281/zenodo.24481106
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 83/100
The gist: Almost every spur and helical gear calculation uses the involute function inv(α) = tan α − α or its inverse.<ref:2611.33251#pg1…
Key concepts
- Involute Function inv(α)
- This function is essential for spur and helical gear calculations. The paper focuses on its correct implementation in binary64 format to avoid errors common in standard software, ensuring that the mathematical relationship between the involute curve and gear geometry is calculated precisely.
- Naive Implementations Issues
- Simple ways of writing the involute function fail due to three main problems: cancellation for small angles, using limited data formats like binary32, and relying on system math libraries. These issues lead to inaccurate results when calculating gear parameters.
- Proprietary Implementation Accuracy
- A custom implementation was tested against 50,000 test angles and showed a very low error (under 1 ulp) for the forward function. The inverse function was also proven accurate over its specified input range, confirming its reliability for engineering applications.
- Impact on Gear Inspection
- Errors in calculating the inverse involute can translate into significant physical errors during gear inspection and manufacturing. Shortcut formulas can cause measurement errors ranging from 2.5 to 42.5 micrometers over pins.
Terminology
Summary
Almost every spur and helical gear calculation uses the involute function inv(α) = tan α − α or its inverse. p. 0 com)
andrew@evolventdesign. com
November 2026
Abstract
Almost every spur and helical gear calculation uses the involute function inv(α) = tan α − α
or its inverse. com)
andrew@evolventdesign. com
November 2026
Abstract
Almost every spur and helical gear calculation uses the involute function inv(α) = tan α − α
or its inverse. Near α = 0 the two terms almost cancel: at α = 10−3
the textbook formula in
binary64 keeps about 9 correct digits, and far fewer in binary32, binary16 or fixed point, and the
result can depend on the platform’s tan. We report the accuracy of a proprietary implementation
that avoids these problems.Where the paper says it
Where the paper says it
Where the paper says it
The Problem with Naive Implementations
Naive implementations of the involute function suffer from three main issues: cancellation for small angles, short formats like binary32 or fixed point, and platform dependence in system math libraries.<ref:2611.33251#pg2, "Three effects spoil a naive implementation">. p. 1 Gear programs
usually solve it by iteration, and Cheng [7] gives a widely used explicit approximation. 2 Why it is hard to compute reliably
Three effects spoil a naive implementation. For small α, tan α = α + α
3/3 + · · · . So tan α and α share their leading digits,
and the subtraction removes them. 2 Why it is hard to compute reliably
Three effects spoil a naive implementation. Cancellation. In plain terms. Every gear tooth is built on one small formula, inv(α) = tan α − α. For small α, tan α = α + α
3/3 + · · · . So tan α and α share their leading digits,
and the subtraction removes them. Each has fewer digits to start with, and the
cancellation removes as many leading digits as it does in binary64. Fixed point is worse, because
its resolution is absolute. Platform dependence. IEEE 754 requires correct rounding for +, −, ×, / and √ , but not for
tan. Once inv(α) is smaller than the format’s least significant bit, the result
has no correct digit. Platform dependence.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Short formats. Code written for embedded controllers, GPUs or machine-learning accelerators often uses binary32, binary16 or fixed point [23], Each has fewer digits to start with
>. Platform dependence arises because IEEE 754 requires correct rounding for operations like tan but not for tan itself. p. 1Where the paper says it
Where the paper says it
Accuracy of the Proprietary Functions
The paper introduces a proprietary implementation of the forward involute function in binary64 that returns the correctly rounded double at each of 50,000 committed test angles with a largest error of 0.4999681 ulp against an 80-digit reference. p. 0 On 50,000 committed test angles the forward function’s largest
error against an 80-digit reference is 0. 4999681 ulp, so every tested result is correctly rounded
(measured, not proved). 3 Contributions
1. A forward involute in binary64 that returned the correctly rounded double at each of 50,000
committed test angles in 0 < |α| ≤ 3π/4 (largest error 0. A forward involute in binary64 that returned the correctly rounded double at each of 50,000
committed test angles in 0 < |α| ≤ 3π/4 (largest error 0. 4999681 ulp against an 80-digit
reference; Section 6). The inverse is proved faithfully rounded, with error at most 0. 6 ulp, for
10−200 ≤ y < 2, using interval arithmetic and the SMT solvers z3 and cvc5 with a short, named
list of trusted inputs; its largest measured error on 50,000 points is 0. A separate
bracket around the root is proved to contain it for 0 < y ≤ 106
, and did so at all 47,083 test
points. Both functions return identical bits on x86-64 and aarch64 Linux, Apple-silicon macOS,
AWS Lambda and an NVIDIA DGX Spark, in Python and Node.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Verification and Comparisons
The claims are supported by a machine-checked proof harness utilizing mpmath interval arithmetic [30] and SMT solvers z3 [14].<ref:2611.33251#pg4>. The inverse function's accuracy against public methods like Newton iterations is compared over the gear range 0.5◦ to 60◦ <ref:2611. p. 0 Member of MPMA (Motion
+ Power Manufacturers Alliance, formed by the merger of AGMA and ABMA); formerly an AGMA member. 1
arXiv:2611. The algorithms
are proprietary and are not described here. Readers can check the results against the test vectors
and output hashes (Section 9). 5555115 ulp
(at y ≈ 0. 53359, one of the pseudo-random points), inside the proved bound of 0.Where the paper says it
Where the paper says it
Where the paper says it
Impact on Gear Inspection and Manufacturing
The study quantifies how errors in the inverse involute translate into physical errors in gear inspection and manufacturing, showing that shortcut inverse formulas can cost significant micrometres.<ref:2611.33251#pg15, "Shortcut inverse formulas cost 2. p. 0 5
◦
to 30◦
, all inputs fall inside the tested and proved ranges. Against ISO 1328-1 tolerance classes,
we give in micrometres the errors that shortcut inverses cause in pin measurement and centre
distance, and how far circular-arc CAD teeth (SolidWorks Toolbox) depart from the involute. Symbol Meaning Unit
β helix angle at the reference diameter rad
ψ(R) polar half-angle of the tooth at radius R, Eq. (1) rad
t roll angle of the involute (t = tan ϕ) rad
Gear size and shape
z, N number of teeth (z < 0 for internal gears in
ANSI/AGMA 2002-D19; N in Appendix E)
–
z0, x0 tooth count and shift of a pinion-type cutter –
m, mn module; normal module of a helical gear mm
x, x1, x2 profile shift coefficient (per gear of a pair) –
r, d pitch (reference) radius r = mz/2; pitch diameter d = 2r mm
rb, db base radius rb = r cos α; base diameter mm
R, dy a radius on the flank; a diameter at which thickness is taken mm
da, ra2, rb2 tip diameter; tip and base radius of the mating gear mm
b face width mm
s, sn, sy reference tooth thickness; normal thickness; arc thickness at dy mm
a, aw standard and working centre distance of a pair mm
pb base pitch, πm cos α mm
L roll length along the line of action, L = rbt; with a subscript
(TIF, SAP, EAP, P) the roll length to that point
mm
h
′
, ha0, ρa0, ρfP end of the rack’s straight flank; cutter addendum; cutter tip
radius; basic-rack tip radius
mm
TIF, SAP, LPSTC,
HPSTC
true involute form point; start of active profile; lowest and
highest points of single tooth contact
–
Inspection
dp, Dd diameter of the measuring pin or ball (Dd in
ANSI/AGMA 2002-D19)
mm
M measurement over (or between) two pins or balls mm
dc diameter of the pin’s contact point on the flank mm
dLf, dLa lowest and highest usable involute diameters (root and tip limits) mm
dCf , dF a, Lα start and end diameters of the ISO 1328-1 profile evaluation; its
length along the roll
mm
LAE roll length of the active profile, from the SAP to the tip mm
θmeas, θnom measured and nominal polar angle of a flank point rad
f, e profile deviation along the line of action; a normal form
deviation on the contacted flanks
µm
k odd-tooth factor: 1 for even z, cos(π/2z) for odd z –
gain change in M per unit normal form deviation on the contacted
flanks
–
Fα, ffα, fHα total, form and slope profile deviation (ISO 1328-1); with
subscript T, the tolerance
µm
fpT , FpT , FβT , ffβT ,
fHβT
ISO 1328-1 pitch and helix tolerances (Appendix C) µm
A ISO 1328-1 tolerance class –
Numerics
binary64, binary32,
binary16, Q3. Symbol Meaning Unit
The function and its inverse
inv(α), inv ϕ involute function, tan α − α; the polar angle of an involute point
from where the curve leaves the base circle
rad
y value of the involute function, y = inv ϕ; the input of the inverse rad
inv−1
(y) inverse involute: the angle in (0, π/2) whose involute is y rad
a a binary64 test angle (Sections 5–6 and the tables); elsewhere
the centre distance
rad
δ(·) an error in the quantity that follows, e. δy, δsy as quantity
Angles on the gear
α nominal (reference) pressure angle of the basic rack; in
Sections 3–4 also the true root of the inverse
rad (◦
in text)
αn, αt normal and transverse pressure angle of a helical gear rad
ϕ, ϕ(R) local pressure angle at radius R, from cos ϕ = rb/R rad
ϕM, αk pressure angle at the centre of the measuring pin or ball
(transverse)
rad
αc pressure angle at the pin’s contact point on the flank rad
αw working (operating) pressure angle of a gear pair rad
3 Symbol Meaning Unit
β helix angle at the reference diameter rad
ψ(R) polar half-angle of the tooth at radius R, Eq. (1) rad
t roll angle of the involute (t = tan ϕ) rad
Gear size and shape
z, N number of teeth (z < 0 for internal gears in
ANSI/AGMA 2002-D19; N in Appendix E)
–
z0, x0 tooth count and shift of a pinion-type cutter –
m, mn module; normal module of a helical gear mm
x, x1, x2 profile shift coefficient (per gear of a pair) –
r, d pitch (reference) radius r = mz/2; pitch diameter d = 2r mm
rb, db base radius rb = r cos α; base diameter mm
R, dy a radius on the flank; a diameter at which thickness is taken mm
da, ra2, rb2 tip diameter; tip and base radius of the mating gear mm
b face width mm
s, sn, sy reference tooth thickness; normal thickness; arc thickness at dy mm
a, aw standard and working centre distance of a pair mm
pb base pitch, πm cos α mm
L roll length along the line of action, L = rbt; with a subscript
(TIF, SAP, EAP, P) the roll length to that point
mm
h
′
, ha0, ρa0, ρfP end of the rack’s straight flank; cutter addendum; cutter tip
radius; basic-rack tip radius
mm
TIF, SAP, LPSTC,
HPSTC
true involute form point; start of active profile; lowest and
highest points of single tooth contact
–
Inspection
dp, Dd diameter of the measuring pin or ball (Dd in
ANSI/AGMA 2002-D19)
mm
M measurement over (or between) two pins or balls mm
dc diameter of the pin’s contact point on the flank mm
dLf, dLa lowest and highest usable involute diameters (root and tip limits) mm
dCf , dF a, Lα start and end diameters of the ISO 1328-1 profile evaluation; its
length along the roll
mm
LAE roll length of the active profile, from the SAP to the tip mm
θmeas, θnom measured and nominal polar angle of a flank point rad
f, e profile deviation along the line of action; a normal form
deviation on the contacted flanks
µm
k odd-tooth factor: 1 for even z, cos(π/2z) for odd z –
gain change in M per unit normal form deviation on the contacted
flanks
–
Fα, ffα, fHα total, form and slope profile deviation (ISO 1328-1); with
subscript T, the tolerance
µm
fpT , FpT , FβT , ffβT ,
fHβT
ISO 1328-1 pitch and helix tolerances (Appendix C) µm
A ISO 1328-1 tolerance class –
Numerics
binary64, binary32,
binary16, Q3. Symbol Meaning Unit
Other: symbols in the historical appendix (ω, θ, AB, RS) and the four-bar linkage O1M1M2O2 are defined
where used. 2 Gear geometry and the input envelope
2.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Conclusion and Recommendations
The paper concludes that while the arithmetic itself is not the primary hazard, setup and input checks are critical for avoiding impossible CAD models.<ref:2611.33251#pg23, "Software should warn or refuse rather than draw an impossible gear (Section 7, Figure 4)">. p. 9 7 × 10−9
, even with an exact tan. 1 The inverse against public methods
We compared the inverse with methods common in gear software, all written in plain binary64
JavaScript; every result in this subsection is measured. On 50,000 committed test angles the forward function’s largest
error against an 80-digit reference is 0. 4999681 ulp, so every tested result is correctly rounded
(measured, not proved). The inverse is proved faithfully rounded, with error at most 0. 6 ulp, for
10−200 ≤ y < 2, using interval arithmetic and the SMT solvers z3 and cvc5 with a short, named
list of trusted inputs; its largest measured error on 50,000 points is 0. Symbol Meaning Unit
β helix angle at the reference diameter rad
ψ(R) polar half-angle of the tooth at radius R, Eq. (1) rad
t roll angle of the involute (t = tan ϕ) rad
Gear size and shape
z, N number of teeth (z < 0 for internal gears in
ANSI/AGMA 2002-D19; N in Appendix E)
–
z0, x0 tooth count and shift of a pinion-type cutter –
m, mn module; normal module of a helical gear mm
x, x1, x2 profile shift coefficient (per gear of a pair) –
r, d pitch (reference) radius r = mz/2; pitch diameter d = 2r mm
rb, db base radius rb = r cos α; base diameter mm
R, dy a radius on the flank; a diameter at which thickness is taken mm
da, ra2, rb2 tip diameter; tip and base radius of the mating gear mm
b face width mm
s, sn, sy reference tooth thickness; normal thickness; arc thickness at dy mm
a, aw standard and working centre distance of a pair mm
pb base pitch, πm cos α mm
L roll length along the line of action, L = rbt; with a subscript
(TIF, SAP, EAP, P) the roll length to that point
mm
h
′
, ha0, ρa0, ρfP end of the rack’s straight flank; cutter addendum; cutter tip
radius; basic-rack tip radius
mm
TIF, SAP, LPSTC,
HPSTC
true involute form point; start of active profile; lowest and
highest points of single tooth contact
–
Inspection
dp, Dd diameter of the measuring pin or ball (Dd in
ANSI/AGMA 2002-D19)
mm
M measurement over (or between) two pins or balls mm
dc diameter of the pin’s contact point on the flank mm
dLf, dLa lowest and highest usable involute diameters (root and tip limits) mm
dCf , dF a, Lα start and end diameters of the ISO 1328-1 profile evaluation; its
length along the roll
mm
LAE roll length of the active profile, from the SAP to the tip mm
θmeas, θnom measured and nominal polar angle of a flank point rad
f, e profile deviation along the line of action; a normal form
deviation on the contacted flanks
µm
k odd-tooth factor: 1 for even z, cos(π/2z) for odd z –
gain change in M per unit normal form deviation on the contacted
flanks
–
Fα, ffα, fHα total, form and slope profile deviation (ISO 1328-1); with
subscript T, the tolerance
µm
fpT , FpT , FβT , ffβT ,
fHβT
ISO 1328-1 pitch and helix tolerances (Appendix C) µm
A ISO 1328-1 tolerance class –
Numerics
binary64, binary32,
binary16, Q3. Appendix B gives the author’s background notes on generation, the formulas for each
named point, and the worked example in full (Table 12). Because inv ϕ ≈ ϕ
3/3, the polar angle
changes very little low on the flank: in the example the tooth thickness changes only from 3. On 50,000 committed test angles the forward function’s largest
error against an 80-digit reference is 0. 4999681 ulp, so every tested result is correctly rounded
(measured, not proved).Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Correct implementation of involute functions using proprietary algorithms that avoid cancellation issues in small angle calculations will ensure bit-identical outputs across different platforms (x86-64, aarch64 Linux, Apple-silicon macOS, AWS Lambda, NVIDIA DGX Spark) and runtimes.
-
Development of an inverse involute function with interval arithmetic proofs using SMT solvers like z3 and cvc5 will provide a faithful rounding guarantee for the range 10-200 <= y < 2, which is critical for precise gear inspection measurements.
-
Integration of a machine-checked proof harness, utilizing mpmath interval arithmetic and mutation tests with planted faults, will allow engineers to verify the correctness of the forward and inverse functions against an 80-digit reference without relying solely on measured results.
-
Creation of a mapping between real gear geometry (z = 5 to 500, alpha = 14.5 to 30) onto the input ranges will enable precise calculation and estimation of involute and inverse-involute errors in inspection, manufacturing, and CAD.
-
Implementation of rigorous input checks within CAD tools or CAM programs will prevent the creation of impossible gears by warning or refusing inputs that result in pointed teeth, undercut conditions, or crossed flanks.
-
A system for evaluating pin contact locations based on ANSI/AGMA 2002-D19 rules will allow designers to select pins and balls optimally, maximizing the gain in measurement accuracy while avoiding regions where form error is amplified most strongly.
Abstract
Almost every spur and helical gear calculation uses the involute function inv(a) = tan(a) - a or its inverse. Near a = 0 the two terms almost cancel: at a = 10-3 the textbook formula in binary64 keeps about 9 correct digits, and far fewer in binary32, binary16 or fixed point, and the result can depend on the platform's tan. We report the accuracy of a proprietary implementation that avoids these problems. On 50,000 committed test angles the forward function's largest error against an 80-digit reference is 0.4999681 ulp, so every tested result is correctly rounded (measured, not proved). The inverse is proved faithfully rounded, with error at most 0.6 ulp, for 10-200 <= y < 2, using interval arithmetic and the SMT solvers z3 and cvc5 with a short, named list of trusted inputs; its largest measured error on 50,000 points is 0.5555115 ulp. A separate bracket around the root is proved to contain it for 0 < y <= 10 6, and did so at all 47,083 test points. Both functions return identical bits on x86-64 and aarch64 Linux, Apple-silicon macOS, AWS Lambda and an NVIDIA DGX Spark, in Python and NodeJS, on every finite test input. Against public inverse methods on nine runtimes, our inverse returned the same bits on all of them and stayed within 0.54 ulp on 12,017 targets from 0.5 to 60 degrees, while textbook Newton iterations differed between runtimes on up to about 10% of inputs and kept only 12 correct digits. For external and internal spur gears with 5 to 500 teeth and pressure angles from 14.5 to 30 degrees, all inputs fall inside the tested and proved ranges. Against ISO 1328-1 tolerance classes, we give in micrometres the errors that shortcut inverses cause in pin measurement and centre distance, and how far circular-arc CAD teeth (SolidWorks Toolbox) depart from the involute. Drawing an involute is easy; accuracy matters in inspection.
Related papers
- Fast Mixed-Precision Real Evaluation
- asdex: Automatic Sparse Differentiation in JAX
- Lord of the Precision, the Two Floats: Double-Word Arithmetic for Complex Numbers
- Streaming Right Multiplication over Grammar-Compressed Matrices: A Memory-Bounded GPU Engine for Genotype and Graph Data
- Improved Scaling for Fast Mode of Ozaki Scheme II
- BF16 Component-Product Emulation of FP32 and FP64 GEMM on Intel AMX