Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • Raymond Toy's avatar
    f9203f85
    Print and set state as 64-bit integers · f9203f85
    Raymond Toy authored
    The xoroshiro128+ algorithm is defined using uint64_t types, but we
    hack it to store the state as double-float's.  This is a bit
    confusing, so add a printer to print the state as an array of two
    uint64_t's.
    
    Adjust init-xoro-state to allow initializing the state using an array
    of 2 64-bit ints.
    f9203f85
    History
    Print and set state as 64-bit integers
    Raymond Toy authored
    The xoroshiro128+ algorithm is defined using uint64_t types, but we
    hack it to store the state as double-float's.  This is a bit
    confusing, so add a printer to print the state as an array of two
    uint64_t's.
    
    Adjust init-xoro-state to allow initializing the state using an array
    of 2 64-bit ints.