From e9da0ea36a975ade1e406443ae94295fca438387 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 12 Oct 2020 16:56:25 +0100 Subject: [PATCH] Emscripten has no fully working long double functions. Fixes https://github.com/boostorg/math/issues/441 --- include/boost/math/tools/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/math/tools/config.hpp b/include/boost/math/tools/config.hpp index 5e2cc53b5..60c7e75a0 100644 --- a/include/boost/math/tools/config.hpp +++ b/include/boost/math/tools/config.hpp @@ -28,7 +28,7 @@ #include -#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \ +#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__EMSCRIPTEN__)\ || (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \ && !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS) # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS