forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AK: Add implementations of exp2() and exp() on non-x86
This is a pretty naive implementation of exp2() that can be improved a lot, but hey, it beats the sin() and cos() implementation on non-x86. It also implements exp(x) as exp2(x * log2(e)), with the same disclaimer.
- Loading branch information
Showing
1 changed file
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters