diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-09-03 11:52:15 -0500 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-09-03 11:52:15 -0500 |
commit | 66dfdf79d7e9d7f721071cf11954a6460e7fca48 (patch) | |
tree | 5a8afc2eae84984a170e703a02efec69568aa86f /Modules/_decimal | |
parent | 2c133792e1effd2fbcab2eb1b3ee5d7b249bff10 (diff) | |
download | cpython-66dfdf79d7e9d7f721071cf11954a6460e7fca48.tar.gz |
Issue #24974: Force fp-model precice in mpdecimal.c on Windows
As suggested by Steve Dower and approved by Stefan Krah.
Diffstat (limited to 'Modules/_decimal')
-rw-r--r-- | Modules/_decimal/libmpdec/mpdecimal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c index 21d222277c..593f9f5e03 100644 --- a/Modules/_decimal/libmpdec/mpdecimal.c +++ b/Modules/_decimal/libmpdec/mpdecimal.c @@ -43,6 +43,7 @@ #ifdef PPRO #if defined(_MSC_VER) #include <float.h> + #pragma float_control(precise, on) #pragma fenv_access(on) #elif !defined(__OpenBSD__) && !defined(__NetBSD__) /* C99 */ |