Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
c174fbfa
Commit
c174fbfa
authored
Jan 17, 2020
by
Matthieu Schaller
Browse files
Update the documentation of approx_expf() to reflect the new limits in the unit test for AVX512
parent
df2e0b2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/approx_math.h
View file @
c174fbfa
...
...
@@ -50,10 +50,10 @@ __attribute__((always_inline, const)) INLINE static float approx_erfcf(
* @brief Approximate version of expf(x) using a 4th order Taylor expansion
*
* The absolute error is smaller than 3 * 10^-6 for -0.2 < x < 0.2.
* The absolute error is smaller than
2
* 10^-7 for -0.1 < x < 0.1.
* The absolute error is smaller than
3
* 10^-7 for -0.1 < x < 0.1.
* The relative error is smaller than 1 * 10^-6 for -0.2 < x < 0.2.
* The relative error is smaller than
4
* 10^-
8
for -0.1 < x < 0.1.
* The relative error is smaller than
3
* 10^-
7
for -0.1 < x < 0.1.
*
* @param x The number to take the exponential of.
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment