From b5c87084afaef42b2d058f68091be31988a6a874 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 13 Sep 2017 11:08:07 +0900 Subject: Imported Upstream version 1.64.0 Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b Signed-off-by: DongHun Kwak --- boost/multiprecision/cpp_bin_float/transcendental.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'boost/multiprecision/cpp_bin_float/transcendental.hpp') diff --git a/boost/multiprecision/cpp_bin_float/transcendental.hpp b/boost/multiprecision/cpp_bin_float/transcendental.hpp index 9037dd3982..066bc458e4 100644 --- a/boost/multiprecision/cpp_bin_float/transcendental.hpp +++ b/boost/multiprecision/cpp_bin_float/transcendental.hpp @@ -70,6 +70,7 @@ void eval_exp(cpp_bin_float if(type == (int)FP_NAN) { res = arg; + errno = EDOM; return; } else if(type == (int)FP_INFINITE) -- cgit v1.2.3