jeremybarnes/cephes
View on GitHub ↗ ★ 105 C
Mirror of the Cephes C source for reference
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2020-10-15 · latest 2026-03-16
20082026
-
> In what way do you think a sin function is computed? In some way vaguely like this: https://github.com/jeremybarnes/cephes/blob/master/cmath/sin... > I think it is stored like sintable[deg]. The degree is index. I can think of a few…
comment by BigTTYGothGF · 2026-03-16 · in Even faster asin() was staring right at me -
…of the table stakes of the conversation. Let's look at something basic and traditional like Cephes: https://github.com/jeremybarnes/cephes/blob/master/cmath/sin... We start of with a range reduction to [0, pi/4] (presumably this would be…
comment by BigTTYGothGF · 2026-01-01 · in The most famous transcendental numbers -
…(punchline!) FORTRAN and C. [0] https://docs.python.org/2/whatsnew/2.7.html#python-3-1-featu... [1] https://github.com/jeremybarnes/cephes [2] https://github.com/numpy/numpy
comment by Kednicma · 2020-10-15 · in How do we tell truths that might hurt? (1975)