From 4f893997e4738faf6dde8320b304298340f51cd2 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 29 Jun 2020 17:14:42 +0000 Subject: math: add __math_invalidl for targets where long double is different from double. --- src/internal/libm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/internal') diff --git a/src/internal/libm.h b/src/internal/libm.h index 7533f6ba..72ad17d8 100644 --- a/src/internal/libm.h +++ b/src/internal/libm.h @@ -267,5 +267,8 @@ hidden double __math_uflow(uint32_t); hidden double __math_oflow(uint32_t); hidden double __math_divzero(uint32_t); hidden double __math_invalid(double); +#if LDBL_MANT_DIG != DBL_MANT_DIG +hidden long double __math_invalidl(long double); +#endif #endif -- cgit v1.2.1