summaryrefslogtreecommitdiff
path: root/lib/libm/exp10f.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/exp10f.c')
-rw-r--r--lib/libm/exp10f.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libm/exp10f.c b/lib/libm/exp10f.c
index a9cde41d..d4e322b4 100644
--- a/lib/libm/exp10f.c
+++ b/lib/libm/exp10f.c
@@ -6,9 +6,8 @@
float exp10f(float x)
{
- static const float p10[] = { 1e-7f, 1e-6f, 1e-5f, 1e-4f, 1e-3f,
- 1e-2f, 1e-1f, 1, 1e1, 1e2,
- 1e3, 1e4, 1e5, 1e6, 1e7 };
+ static const float p10[] = { 1e-7f, 1e-6f, 1e-5f, 1e-4f, 1e-3f, 1e-2f, 1e-1f, 1,
+ 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7 };
float n, y = modff(x, &n);
union {
float f;