Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2021 01:17:02 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8b231404a1b2 - stable/13 - sinpi,cospi,tanpi: float.h needed for week reference
Message-ID:  <202111020117.1A21H2nl078712@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b231404a1b29c1a21636d4db1ee1e454a87e54c

commit 8b231404a1b29c1a21636d4db1ee1e454a87e54c
Author:     Steve Kargl <kargl@FreeBSD.org>
AuthorDate: 2021-10-28 22:53:13 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-11-02 01:16:29 +0000

    sinpi,cospi,tanpi: float.h needed for week reference
    
    PR:     218514
    
    (cherry picked from commit 3bfc837685b8128067b946b31dfe2120dae0d003)
---
 lib/msun/src/s_cospi.c | 1 +
 lib/msun/src/s_sinpi.c | 1 +
 lib/msun/src/s_tanpi.c | 1 +
 3 files changed, 3 insertions(+)

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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111020117.1A21H2nl078712>