From fda673d59f80a52589fde119468bac8a0561e67c Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 3 Sep 2015 11:52:15 -0500 Subject: Issue #24974: Force fp-model precice in mpdecimal.c on Windows As suggested by Steve Dower and approved by Stefan Krah. --- Modules/_decimal/libmpdec/mpdecimal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c index 21d2222..593f9f5 100644 --- a/Modules/_decimal/libmpdec/mpdecimal.c +++ b/Modules/_decimal/libmpdec/mpdecimal.c @@ -43,6 +43,7 @@ #ifdef PPRO #if defined(_MSC_VER) #include + #pragma float_control(precise, on) #pragma fenv_access(on) #elif !defined(__OpenBSD__) && !defined(__NetBSD__) /* C99 */ -- cgit v0.12