Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2111.12852

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Mathematical Software

arXiv:2111.12852 (cs)
[Submitted on 25 Nov 2021 (v1), last revised 17 Mar 2022 (this version, v2)]

Title:RLIBM-PROG: Progressive Polynomial Approximations for Fast Correctly Rounded Math Libraries

Authors:Mridul Aanjaneya, Jay P. Lim, Santosh Nagarakatte
View a PDF of the paper titled RLIBM-PROG: Progressive Polynomial Approximations for Fast Correctly Rounded Math Libraries, by Mridul Aanjaneya and Jay P. Lim and Santosh Nagarakatte
View PDF
Abstract:This paper presents a novel method for generating a single polynomial approximation that produces correctly rounded results for all inputs of an elementary function for multiple representations. The generated polynomial approximation has the nice property that the first few lower degree terms produce correctly rounded results for specific representations of smaller bitwidths, which we call progressive performance. To generate such progressive polynomial approximations, we approximate the correctly rounded result and formulate the computation of correctly rounded polynomial approximations as a linear program similar to our prior work on the RLibm project. To enable the use of resulting polynomial approximations in mainstream libraries, we want to avoid piecewise polynomials with large lookup tables. We observe that the problem of computing polynomial approximations for elementary functions is a linear programming problem in low dimensions, i.e., with a small number of unknowns. We design a fast randomized algorithm for computing polynomial approximations with progressive performance. Our method produces correct and fast polynomials that require a small amount of storage. A few polynomial approximations from our prototype have already been incorporated into LLVM's math library.
Comments: 14 pages
Subjects: Mathematical Software (cs.MS)
Report number: Rutgers Department of Computer Science Technical Report DCS-TR-758
Cite as: arXiv:2111.12852 [cs.MS]
  (or arXiv:2111.12852v2 [cs.MS] for this version)
  https://doi.org/10.48550/arXiv.2111.12852
arXiv-issued DOI via DataCite

Submission history

From: Santosh Nagarakatte [view email]
[v1] Thu, 25 Nov 2021 00:19:27 UTC (5,394 KB)
[v2] Thu, 17 Mar 2022 04:01:21 UTC (5,394 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled RLIBM-PROG: Progressive Polynomial Approximations for Fast Correctly Rounded Math Libraries, by Mridul Aanjaneya and Jay P. Lim and Santosh Nagarakatte
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.MS
< prev   |   next >
new | recent | 2021-11
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Mridul Aanjaneya
Santosh Nagarakatte
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack