summaryrefslogtreecommitdiffstats
path: root/test/src/SFMT.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of most of the various inline macros.David Goldblatt2017-04-241-37/+37
|
* Replace tabs following #define with spaces.Jason Evans2017-01-211-1/+1
| | | | This resolves #564.
* Whitespace cleanups.Jason Evans2014-09-051-10/+10
|
* Use KQU() rather than QU() where applicable.Jason Evans2014-05-291-1/+1
| | | | Fix KZI() and KQI() to append LL rather than ULL.
* Use ULL prefix instead of LLU for unsigned long longsMike Hommey2014-05-271-1/+1
| | | | MSVC only supports the former.
* Enable big-endian mode for SFMT.Jason Evans2014-03-311-0/+3
| | | | | Add cpp logic to enable big-endian mode in SFMT. This should fix SFMT tests on e.g. MIPS and SPARC.
* Fix a strict aliasing violation.Jason Evans2013-12-121-2/+6
|
* Fix inline-related macro issues.Jason Evans2013-12-101-19/+19
| | | | | | | | | Add JEMALLOC_INLINE_C and use it instead of JEMALLOC_INLINE in .c files, so that the annotated functions are always static. Remove SFMT's inline-related macros and use jemalloc's instead, so that there's no danger of interactions with jemalloc's definitions that disable inlining for debug builds.
* Add probabability distribution utility code.Jason Evans2013-12-101-5/+0
| | | | | | | | | | | | | | | Add probabability distribution utility code that enables generation of random deviates drawn from normal, Chi-square, and Gamma distributions. Fix format strings in several of the assert_* macros (remove a %s). Clean up header issues; it's critical that system headers are not included after internal definitions potentially do things like: #define inline Fix the build system to incorporate header dependencies for the test library C files.
* Integrate SFMT 1.3.3 into test infrastructure.Jason Evans2013-12-091-0/+717
Integrate the SIMD-oriented Fast Mersenne Twister (SFMT) 1.3.3 into the test infrastructure. The sfmt_t state encapsulation modification comes from Crux (http://www.canonware.com/Crux/) and enables multiple concurrent PRNGs. test/unit/SFMT.c is an adaptation of SFMT's test.c that performs all the same validation, both for 32- and 64-bit generation.