Approximations of various mathematical functions for IEEE-754 (2008) floating-point arithmetic written in C. The approximations are mostly based on taylor series but other "hacked" solutions can be found that drastically increase performance at the cost of precision.
This repository has been archived on 2024-02-29. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Sven Vogel 6c0c4ad756 added mod, sin, exp function 2023-06-01 16:36:14 +02:00
.gitignore Initial commit 2023-06-01 11:21:03 +00:00
CMakeLists.txt added mod, sin, exp function 2023-06-01 16:36:14 +02:00
LICENSE Initial commit 2023-06-01 11:21:03 +00:00
README.md Initial commit 2023-06-01 11:21:03 +00:00
library.c added mod, sin, exp function 2023-06-01 16:36:14 +02:00
library.h added mod, sin, exp function 2023-06-01 16:36:14 +02:00

README.md

Function-Approximations

Approximations of various mathematical functions for IEEE-754 (2008) floating-point arithmetic written in C. The approximations are mostly based on taylor series but other "hacked" solutions can be found that drastically increase performance at the cost of precision.