summaryrefslogtreecommitdiff
path: root/numpy/random/src/pcg64
Commit message (Collapse)AuthorAgeFilesLines
* BLD: add back stdlib.h include in pcg64.hChristoph Reiter2022-09-111-1/+4
| | | | | | | | | This seems to have been removed by accident in #21887 stdlib.h is required for _rotr64() further down. Fixes: error: call to undeclared function '_rotr64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
* DEP: drop support for msvc<=1900 and Interix (#22139)Matti Picus2022-08-191-4/+4
| | | | | [ci skip] Co-authored-by: h-vetinari <h.vetinari@gmx.com>
* Allow GCC compile on mingw-w64-based systemsMatthew Brett2022-06-291-1/+1
| | | | | | | Macro `__MINGW32__` always defined for Mingw-w64 compilers (32- or 64-bit): https://sourceforge.net/p/predef/wiki/Compilers/
* BUG: Correct incorrect advance in PCG with emulated int128Kevin Sheppard2021-10-061-2/+1
| | | | | | | Correct incorrect implemetation of carry in PCG64 and PCG64DXSM when advancing more than 2**64 steps closes #20048
* ENH: manually inline code for performance.Robert Kern2021-05-071-14/+29
|
* BUG: Wrong logic for WindowsRobert Kern2021-05-041-1/+0
|
* ENH: add the emulated 128-bit math for PCG64DXSMRobert Kern2021-05-041-1/+59
|
* ENH: Add PCG64DXSM implementation.Robert Kern2021-05-042-0/+74
|
* BLD: Enable Werror=undef in travisSayed Adel2020-11-171-3/+3
|
* BUG: do not force emulation of 128-bit arithmetic.Robert Kern2019-06-272-9/+20
|
* BUG: fix PCG64 ng->inc.high initializationmattip2019-06-261-1/+1
|
* ENH: use SeedSequence to generate entropy for seedingmattip2019-06-261-4/+0
|
* MAINT: Correct intrinsic use on WindowsKevin Sheppard2019-06-211-0/+4
| | | | Add pragme and include for Windows PCG64
* PERF: Use intrinsics in Win64-PCG64Kevin Sheppard2019-05-311-7/+25
| | | | Use intrinsics to speed up PCG64 on Windows 64
* Merge pull request #13657 from rkern/fix/c-underscoresSebastian Berg2019-05-282-9/+9
|\ | | | | BUG: Avoid leading underscores in C function names.
| * BUG: Avoid leading underscores in C function names.Robert Kern2019-05-282-9/+9
| | | | | | | | They are reserved in the C and POSIX standards.
* | PERF: Use intrinsic rotr on WindowsKevin Sheppard2019-05-281-0/+5
|/ | | | Use _rotr64 on Windows to avoid compiler generated rotr instructions
* PERF: Reorder header for philox (#34)Kevin Sheppard2019-05-271-1/+1
| | | | | | * PERF: Reorder header for philox Reorder header so that support uint128 is always used if avilable, irrespective of platform
* Revert "MAINT: Implement API changes for randomgen-derived code"Kevin Sheppard2019-05-277-0/+2620
| | | | This reverts commit 17e0070df93f4262908f884dca4b08cb7d0bba7f.
* MAINT: Implement API changes for randomgen-derived codemattip2019-05-207-2581/+0
| | | | | | | | | | | | | | | | | | | | | remove numpy.random.gen, BRNG.generator, pcg*, rand, randn remove use_mask and Lemire's method, fix benchmarks for PCG removal convert brng to bitgen (in C) and bit_generator (in python) convert base R{NG,andom.*} to BitGenerator, fix last commit randint -> integers, remove rand, randn, random_integers RandomGenerator -> Generator, more "basic RNG" -> BitGenerator random_sample -> random, jump -> jumped, resync with randomgen Remove derived code from entropy Port over changes accepted in upstream to protect log(0.0) where relevant fix doctests for jumped, better document choice Remove Python 2.7 shims Use NPY_INLINE to simplify Fix performance.py to work Renam directory brng to bit_generators Fix examples wiht new directory structure Clarify relationship to historical RandomState Remove references to .generator Rename xoshiro256/512starstar
* MAINT: Remove Cython conditionalsKevin Sheppard2019-05-202-2/+51
| | | | Remove Cython conditional compilation and use preprocessor only
* BENCH: convert bencmarks to asv formatmattip2019-05-207-0/+2532
remove files that were part of the origal repo rework randomgen docs to integrate with numpy and fix some links remove convenience functions, require explicit call to gen.brng move code out of numpy.random.randomgen into numpy.random