The involute function and its inverse in IEEE 754 double precision: measured and proved accuracy, and its effect on gear inspection
summary
The gist
Almost every spur and helical gear calculation uses the involute function inv(α) = tan α − α or its inverse.<ref:2611.33251#pg1…
In short
The paper evaluates a proprietary implementation of the involute function and its inverse using IEEE 754 double precision to ensure accuracy for gear calculations. It addresses problems with naive implementations like cancellation and platform dependence, showing that the custom functions maintain high accuracy across various platforms, which is crucial for accurate gear inspection and manufacturing.
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 used across episodes
This episode discusses
- The involute function and its inverse in IEEE 754 double precision: measured and proved accuracy, and its effect on gear inspection · Paper Radio
The paper
The involute function and its inverse in IEEE 754 double precision: measured and proved accuracy, and its effect on gear inspection · Read on arXiv
Evolvent Design, LLC
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.
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.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.26500-Multi-Decoder OneRec: Controllable Generative Retrieval for Multi-Objective Industrial Recommendation
- 2607.27976-Load balancing in parallel infinite-server queues with action delay via phase representation
- 2607.28574-Finite Pinwheel Covering
- 2608.07026-PyFlow: An Inter-procedural Static Analysis Framework for Python
- 2608.09305-Dilatations of categories, via their lean formalization
- 2608.16406-SATisfying the High School Identities but not Wilkie's Identity
- 2609.02062-SPAR: Enhancing Industrial-Scale Generative POI Recommendation via Real-World Spatial Perception
- 2609.03661-Point&Spawn: Mid-Air Reference-Free Object Instantiation Using Gaze and Hand Gestures in Extended Reality