Skip to content

Data tables of Pythagorean triples for trigonometric and hyperbolic functions approximations.

License

Notifications You must be signed in to change notification settings

hdelassus/pythagorean-tables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

pythagorean-tables

Data tables of Pythagorean triples for trigonometric and hyperbolic functions approximations.

Introduction

This repository contains lookup tables that can be used in approximations of trigonometric and hyperbolic sine and cosine functions, commonly found in mathematical libraries such as the GNU glibc libm. Detailed descriptions of their generation and usage are available in two published papers as well as in the second chapter of my Ph.D. thesis, all three referenced below.

Two modes of addressing are available:

  • base: the first p bits of an input define the beginning of its corresponding table entry. The corrective terms are bounded by 2^-p.
  • symmetric: an input correctly rounded to the nearest p-bit number define the center of its table entry. The corrective terms are bounded by 2^-(p+1).

References

  • H. de Lassus Saint-Geniès, D. Defour and G. Revy, "Exact Lookup Tables for the Evaluation of Trigonometric and Hyperbolic Functions," in IEEE Transactions on Computers, vol. 66, no. 12, pp. 2058-2071, 1 Dec. 2017, doi: 10.1109/TC.2017.2703870, preprint: PDF.

  • H. de Lassus Saint-Geniès, D. Defour and G. Revy, "Range reduction based on Pythagorean triples for trigonometric function evaluation," 2015 IEEE 26th International Conference on Application-specific Systems, Architectures and Processors (ASAP), Toronto, ON, 2015, pp. 74-81, doi: 10.1109/ASAP.2015.7245712, preprint: PDF.

  • Hugues de Lassus Saint-Geniès. "Elementary functions : towards automatically generated, efficient, and vectorizable implementations", Other [cs.OH]. Université de Perpignan, 2018. English. NNT : 2018PERP0010. tel-01841424.

License

LGPL v3

About

Data tables of Pythagorean triples for trigonometric and hyperbolic functions approximations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages