Merge pull request #484 from Prince213/msvc-x86-mp_set_double-fix

Add _M_IX86 for testing for MSVC x86
This commit is contained in:
Steffen Jaeckel 2020-04-30 13:56:56 +02:00 committed by GitHub
commit 44ee82cd34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ MP_STATIC_ASSERT(prec_geq_min_prec, MP_DEFAULT_DIGIT_COUNT >= MP_MIN_DIGIT_COUNT
#if defined(__STDC_IEC_559__) || defined(__GCC_IEC_559) \
|| defined(__x86_64__) || defined(_M_X64) || defined(_M_AMD64) \
|| defined(__i386__) || defined(_M_X86) \
|| defined(__i386__) || defined(_M_X86) || defined(_M_IX86) \
|| defined(__aarch64__) || defined(__arm__)
#define MP_HAS_SET_DOUBLE
#endif