summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-06-29 17:14:42 +0000
committerRich Felker <dalias@aerifal.cx>2020-08-05 23:05:57 -0400
commit4f893997e4738faf6dde8320b304298340f51cd2 (patch)
tree4595a3fb015213bff29ab4fb759486fd68596d6f /src/internal
parentb1756ec8848623b5ec5ca8f6705832323176e0cb (diff)
downloadmusl-4f893997e4738faf6dde8320b304298340f51cd2.tar.gz
math: add __math_invalidl
for targets where long double is different from double.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/libm.h3
1 files changed, 3 insertions, 0 deletions
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