Skip to content

Commit d4cbe85

Browse files
authored
Docs: Cleaner stance on std::sin approximation
1 parent 3f2ebba commit d4cbe85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The topics range from basic micro-kernels executing in a few nanoseconds to more
1515
Some of the highlights include:
1616

1717
- __100x cheaper random inputs?!__ Discover how input generation sometimes costs more than the algorithm.
18-
- __40x faster trigonometry:__ Speed-up standard library functions like [`std::sin`](https://en.cppreference.com/w/cpp/numeric/math/sin) in just 3 lines of code.
18+
- __1% error in trigonometry at 1/40 cost:__ Approximate STL functions like [`std::sin`](https://en.cppreference.com/w/cpp/numeric/math/sin) in just 3 lines of code.
1919
- __4x faster lazy-logic__ with custom [`std::ranges`](https://en.cppreference.com/w/cpp/ranges) and iterators!
2020
- __Compiler optimizations beyond `-O3`:__ Learn about less obvious flags and techniques for another 2x speedup.
2121
- __Multiplying matrices?__ Check how a 3x3x3 GEMM can be 70% slower than 4x4x4, despite 60% fewer ops.

0 commit comments

Comments
 (0)