summaryrefslogtreecommitdiff
path: root/numpy/random/src
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-08-19 13:12:50 -0600
committerGitHub <noreply@github.com>2022-08-19 22:12:50 +0300
commit17d730ae32f5f60c9c2ca75d202b4e866debd686 (patch)
tree8f1b1b8cd623738274cfdbeb12a3c829711ce58e /numpy/random/src
parent555c07f71d779d59a0ea097f811442a6c1bb405c (diff)
downloadnumpy-17d730ae32f5f60c9c2ca75d202b4e866debd686.tar.gz
DEP: drop support for msvc<=1900 and Interix (#22139)
[ci skip] Co-authored-by: h-vetinari <h.vetinari@gmx.com>
Diffstat (limited to 'numpy/random/src')
-rw-r--r--numpy/random/src/pcg64/pcg64.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/random/src/pcg64/pcg64.h b/numpy/random/src/pcg64/pcg64.h
index fb8281201..96ee7af85 100644
--- a/numpy/random/src/pcg64/pcg64.h
+++ b/numpy/random/src/pcg64/pcg64.h
@@ -128,7 +128,7 @@ static inline pcg128_t pcg128_add(pcg128_t a, pcg128_t b) {
static inline void _pcg_mult64(uint64_t x, uint64_t y, uint64_t *z1,
uint64_t *z0) {
-#if defined _WIN32 && _MSC_VER >= 1900 && _M_AMD64
+#if defined _WIN32 && _M_AMD64
z0[0] = _umul128(x, y, z1);
#else
uint64_t x0, x1, y0, y1;
@@ -182,7 +182,7 @@ static inline void pcg_setseq_128_srandom_r(pcg_state_setseq_128 *rng,
static inline uint64_t
pcg_setseq_128_xsl_rr_64_random_r(pcg_state_setseq_128 *rng) {
-#if defined _WIN32 && _MSC_VER >= 1900 && _M_AMD64
+#if defined _WIN32 && _M_AMD64
uint64_t h1;
pcg128_t product;
@@ -212,7 +212,7 @@ static inline pcg128_t pcg128_mult_64(pcg128_t a, uint64_t b) {
}
static inline void pcg_cm_step_r(pcg_state_setseq_128 *rng) {
-#if defined _WIN32 && _MSC_VER >= 1900 && _M_AMD64
+#if defined _WIN32 && _M_AMD64
uint64_t h1;
pcg128_t product;
@@ -255,7 +255,7 @@ static inline uint64_t pcg_cm_random_r(pcg_state_setseq_128* rng)
hi *= lo;
/* Run the CM step. */
-#if defined _WIN32 && _MSC_VER >= 1900 && _M_AMD64
+#if defined _WIN32 && _M_AMD64
uint64_t h1;
pcg128_t product;