Fast Trigonometric Functions using the RLIBM Approach

This paper describes our experience developing polynomial approximations for trigonometric functions that produce correctly rounded results for multiple representations and rounding modes using the RLIBM approach.A key challenge with trigonometric functions concerns range reduction with , which reduces a given input in the domain of a 32-bit float to a small domain.Any rounding error in the value of is amplified during range reduction, which can result in wrong results.We describe our experience implementing fast range reduction techniques that maintain a large number of bits of both with floating-point and integer computations.The resulting implementations for trigonometric functions are fast and produce correctly rounded results for all inputs for multiple representations up to 32-bits with a single implementation.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2025-10-14
DOI
https://doi.org/10.4204/eptcs.432.9
Primary Topic
Inertial Sensor and Navigation
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fast Trigonometric Functions using the RLIBM Approach

Santosh Nagarakatte, Sehyeok Park
Electronic Proceedings in Theoretical Computer Science
Inertial Sensor and Navigation
article

Fast Trigonometric Functions using the RLIBM Approach

Santosh Nagarakatte, Sehyeok Park
article en

Abstract

This paper describes our experience developing polynomial approximations for trigonometric functions that produce correctly rounded results for multiple representations and rounding modes using the RLIBM approach.A key challenge with trigonometric functions concerns range reduction with , which reduces a given input in the domain of a 32-bit float to a small domain.Any rounding error in the value of is amplified during range reduction, which can result in wrong results.We describe our experience implementing fast range reduction techniques that maintain a large number of bits of both with floating-point and integer computations.The resulting implementations for trigonometric functions are fast and produce correctly rounded results for all inputs for multiple representations up to 32-bits with a single implementation.

Electronic Proceedings in Theoretical Computer ScienceVol. 432
Rutgers Sexual and Reproductive Health and Rights (NL)
National Science Foundation, Intel Corporation
Openalex Percentile: Top 61%
Inertial Sensor and Navigation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.