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
This commit is contained in:
Steve Kargl 2021-10-29 01:53:13 +03:00 committed by Konstantin Belousov
parent 6940d0e470
commit 3bfc837685
3 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,7 @@
* cospi(nan) = nan. Raises the "invalid" floating-point exception.
*/
#include <float.h>
#include "math.h"
#include "math_private.h"

View File

@ -63,6 +63,7 @@
* sinpi(nan) = nan. Raises the "invalid" floating-point exception.
*/
#include <float.h>
#include "math.h"
#include "math_private.h"

View File

@ -63,6 +63,7 @@
* tanpi(nan) = NaN. Raises the "invalid" floating-point exception.
*/
#include <float.h>
#include "math.h"
#include "math_private.h"