Const-me/AvxMath
View on GitHub ↗ ★ 4 C++
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2022-09-27 · latest 2026-09-27
20082026
-
I remember I once wanted to compute tangent of fp64 vectors. Here’s what I did. https://github.com/Const-me/AvxMath/blob/master/AvxMath/AvxM...
comment by Const-me · 2026-09-27 · in Reverse-engineering the Intel 8087's tangent algorithm: more than CORDIC -
…than ideal for the use case. Here’s a better way to implement faster trigonometry functions in C++ https://github.com/Const-me/AvxMath/blob/master/AvxMath/AvxM... That particular source file implements that for 4-wide FP64 AVX vectors.
comment by Const-me · 2025-04-18 · in Less Slow C++ -
I once did that as well: https://github.com/Const-me/AvxMath/blob/master/AvxMath/AvxM... The method is different, and the OP hasn’t mentioned it — high-degree minimax polynomial approximation.
comment by Const-me · 2023-06-06 · in Implementing Cosine in C from Scratch (2020) -
BTW, since you apparently working on the stuff like that, check out that repository: https://github.com/Const-me/AvxMath/blob/master/AvxMath/AvxM... The license is MIT, copy-paste friendly. It doesn’t use AVX512 though, only AVX1 and…
comment by Const-me · 2022-09-27 · in Zen4's AVX512 Teardown