saxbophone / tr-sort

Transpose-Sort —why sort numbers with comparisons when we can calculate their rough sort positions instead?
https://saxbophone.com/tr-sort
2 stars 0 forks source link

Explicitly cast PRNG output to GenType #7

Closed saxbophone closed 3 years ago

saxbophone commented 3 years ago

This is for generating random 8-bit values, which actually output from the PRNG as 16-bit (8-bit not supported by the standard) This bug only caught on MSVC. Curiously, it is just one of a number of curious MSVC bugs which only later get caught by CI, despite existing in the code for a few commits successfully tested previously. More investigation needed to work out why this is, and hopefully, put a stop to it.