diff options
| author | Steve Kargl <kargl@FreeBSD.org> | 2021-10-28 22:53:13 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-11-02 01:16:29 +0000 |
| commit | 8b231404a1b29c1a21636d4db1ee1e454a87e54c (patch) | |
| tree | f454d616b623b5ba41a7f917e859095c899b2830 | |
| parent | 6207f135e9da677b31ed7fabad9b69461ae5d16d (diff) | |
sinpi,cospi,tanpi: float.h needed for week reference
PR: 218514
(cherry picked from commit 3bfc837685b8128067b946b31dfe2120dae0d003)
| -rw-r--r-- | lib/msun/src/s_cospi.c | 1 | ||||
| -rw-r--r-- | lib/msun/src/s_sinpi.c | 1 | ||||
| -rw-r--r-- | lib/msun/src/s_tanpi.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/msun/src/s_cospi.c b/lib/msun/src/s_cospi.c index 92a5f467c97f..860219efd3e4 100644 --- a/lib/msun/src/s_cospi.c +++ b/lib/msun/src/s_cospi.c @@ -60,6 +60,7 @@ * cospi(nan) = nan. Raises the "invalid" floating-point exception. */ +#include <float.h> #include "math.h" #include "math_private.h" diff --git a/lib/msun/src/s_sinpi.c b/lib/msun/src/s_sinpi.c index b9731112a7eb..858459a5fcb4 100644 --- a/lib/msun/src/s_sinpi.c +++ b/lib/msun/src/s_sinpi.c @@ -63,6 +63,7 @@ * sinpi(nan) = nan. Raises the "invalid" floating-point exception. */ +#include <float.h> #include "math.h" #include "math_private.h" diff --git a/lib/msun/src/s_tanpi.c b/lib/msun/src/s_tanpi.c index e01917c94c15..01d4c74367fd 100644 --- a/lib/msun/src/s_tanpi.c +++ b/lib/msun/src/s_tanpi.c @@ -63,6 +63,7 @@ * tanpi(nan) = NaN. Raises the "invalid" floating-point exception. */ +#include <float.h> #include "math.h" #include "math_private.h" |
