| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
| |
[ci skip]
Co-authored-by: h-vetinari <h.vetinari@gmx.com>
|
| |
|
|
|
|
|
| |
Macro `__MINGW32__` always defined for Mingw-w64 compilers (32- or
64-bit):
https://sourceforge.net/p/predef/wiki/Compilers/
|
| |
|
|
|
|
|
| |
Correct incorrect implemetation of carry in PCG64 and PCG64DXSM
when advancing more than 2**64 steps
closes #20048
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Add pragme and include for Windows PCG64
|
| |
|
|
| |
Use intrinsics to speed up PCG64 on Windows 64
|
| |\
| |
| | |
BUG: Avoid leading underscores in C function names.
|
| | |
| |
| |
| | |
They are reserved in the C and POSIX standards.
|
| |/
|
|
| |
Use _rotr64 on Windows to avoid compiler generated rotr instructions
|
| |
|
|
|
|
| |
* PERF: Reorder header for philox
Reorder header so that support uint128 is always used if avilable, irrespective of platform
|
| |
|
|
| |
This reverts commit 17e0070df93f4262908f884dca4b08cb7d0bba7f.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Remove Cython conditional compilation and use preprocessor only
|
|
|
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
|