Commit 8ca614aa authored by Tue Ly's avatar Tue Ly
Browse files

[libc][math] Implement double precision exp2 function correctly rounded for all rounding modes.

Implement double precision exp2 function correctly rounded for all
rounding modes.  Using the same algorithm as double precision exp function in
https://reviews.llvm.org/D158551.

Reviewed By: zimmermann6

Differential Revision: https://reviews.llvm.org/D158812
parent e3373c6c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -132,6 +132,7 @@ set(TARGET_LIBM_ENTRYPOINTS
    libc.src.math.exp
    libc.src.math.expf
    libc.src.math.exp10f
    libc.src.math.exp2
    libc.src.math.exp2f
    libc.src.math.expm1f
    libc.src.math.fabs
+1 −0
Original line number Diff line number Diff line
@@ -246,6 +246,7 @@ set(TARGET_LIBM_ENTRYPOINTS
    libc.src.math.exp
    libc.src.math.expf
    libc.src.math.exp10f
    libc.src.math.exp2
    libc.src.math.exp2f
    libc.src.math.expm1f
    libc.src.math.fabs
+1 −0
Original line number Diff line number Diff line
@@ -255,6 +255,7 @@ set(TARGET_LIBM_ENTRYPOINTS
    libc.src.math.exp
    libc.src.math.expf
    libc.src.math.exp10f
    libc.src.math.exp2
    libc.src.math.exp2f
    libc.src.math.expm1f
    libc.src.math.fabs
+1 −0
Original line number Diff line number Diff line
@@ -259,6 +259,7 @@ set(TARGET_LIBM_ENTRYPOINTS
    libc.src.math.exp
    libc.src.math.expf
    libc.src.math.exp10f
    libc.src.math.exp2
    libc.src.math.exp2f
    libc.src.math.expm1f
    libc.src.math.fabs
+1 −0
Original line number Diff line number Diff line
@@ -131,6 +131,7 @@ set(TARGET_LIBM_ENTRYPOINTS
    libc.src.math.exp
    libc.src.math.expf
    libc.src.math.exp10f
    libc.src.math.exp2
    libc.src.math.exp2f
    libc.src.math.expm1f
    libc.src.math.fabs
Loading