diff options
| author | Steve Kargl <kargl@FreeBSD.org> | 2021-10-28 22:53:13 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-10-29 00:15:19 +0000 |
| commit | 3bfc837685b8128067b946b31dfe2120dae0d003 (patch) | |
| tree | 0e06a6fc96f5a6a38a49248f28a89c96f8d222e3 | |
| parent | 6940d0e4703e72b8ea445541567d0ef64c2bb94b (diff) | |
sinpi,cospi,tanpi: float.h needed for week reference
The patch fixes the omission of '#include <float.h>', which is needed for
the weak reference on systems with LDBL_MANT_DIG == DBL_MANT_DIG.
PR: 218514
MFC after: 1 week
| -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" |
