diff options
author | Robert Kern <robert.kern@gmail.com> | 2019-06-27 22:27:55 -0700 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2019-06-27 22:27:55 -0700 |
commit | 6e7f42efe7a2e3c9a8222429de94c4fbed98769b (patch) | |
tree | b816c8e2a613d1081216c26c37dd84c01eec6bee /numpy/random/setup.py | |
parent | 588310c7bdf75715955e7eefce4151c0569dc730 (diff) | |
download | numpy-6e7f42efe7a2e3c9a8222429de94c4fbed98769b.tar.gz |
BUG: do not force emulation of 128-bit arithmetic.
Diffstat (limited to 'numpy/random/setup.py')
-rw-r--r-- | numpy/random/setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/random/setup.py b/numpy/random/setup.py index 378184d3b..a1bf3b83c 100644 --- a/numpy/random/setup.py +++ b/numpy/random/setup.py @@ -58,9 +58,8 @@ def configuration(parent_package='', top_path=None): # Use legacy integer variable sizes LEGACY_DEFS = [('NP_RANDOM_LEGACY', '1')] PCG64_DEFS = [] - if 1 or sys.maxsize < 2 ** 32 or os.name == 'nt': - # Force emulated mode here - PCG64_DEFS += [('PCG_FORCE_EMULATED_128BIT_MATH', '1')] + # One can force emulated 128-bit arithmetic if one wants. + #PCG64_DEFS += [('PCG_FORCE_EMULATED_128BIT_MATH', '1')] config.add_extension('entropy', sources=['entropy.c', 'src/entropy/entropy.c'] + |