Cimba discrete event simulation library
Copyright (c) Asbjørn M. Bonvik 1994, 1995, 2025 - 26.
Licensed under the Apache License, Version 2.0 (see LICENSE).

Components adapted from materials under copyright by others:

Fast PRNG by Chris McFarland (Ziggurat algorithm for normal and exponential distributions)
    https://github.com/cd-mcfarland/fast_prng
    See also https://arxiv.org/pdf/1403.6870
    Used with permission by author
    Released under MIT license:

    Copyright (c) 2025 Christopher D McFarland

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.

random-variate-poisson-double by Roy Ward (Fast Poisson random variates)
    https://github.com/royward/random-variate-poisson/tree/main#random-variate-poisson
    See also https://www.orange-kiwi.com/posts/fast-integer-poisson-random-variates-for-procedural-generation/
    Released under BSD 3-Clause License

    Copyright (c) 2023,2024 Roy Ward

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this
       list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.

    3. Neither the name of the copyright holder nor the names of its
       contributors may be used to endorse or promote products derived from
       this software without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

User Context Switcher by Hirbod Benham (Linux context switching)
    https://github.com/HirbodBehnam/UserContextSwitcher
    Released under MIT license:

    Copyright (c) 2023 Hirbod Behnam

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.

Components adapted from / inspired by code in public domain that deserves recognition:

Chris Doty-Humphrey's sfc64 pseudo-random number generator
    https://pracrand.sourceforge.net
    Placed in public domain by its author.

Sebastiano Vigna & Guy Steele's splitmix64 pseudo-random number generator
    https://rosettacode.org/wiki/Pseudo-random_numbers/Splitmix64#C
    Placed in public domain by its author.

Malte Skarupke (2013): "Handmade Coroutines for Windows",
    https://probablydance.com/2013/02/20/handmade-coroutines-for-windows/,
    All code examples in the linked page placed in public domain by its author.

Malte Skarupke (2018): "Fibonacci Hashing: The Optimization that the World Forgot
    (or: a Better Alternative to Integer Modulo)"
    https://probablydance.com/2018/06/16/fibonacci-hashing-the-optimization-that-the-world-forgot-or-a-better-alternative-to-integer-modulo/
    All code examples in the linked page placed in public domain by its author.

Philippe Pébay (2008), "Formulas for Robust, One-Pass Parallel Computation of
     Covariances and Arbitrary-Order Statistical Moments",
     https://www.osti.gov/servlets/purl/1028931
     (Sandia report SAND2008-6212, U.S. Government work, hence public domain.)

Austin Appleby (2011), MurmurHash3,
    https://github.com/aappleby/smhasher/wiki/MurmurHash3
    https://github.com/aappleby/smhasher
    Placed in public domain by its author.