@mxk
"For one, GCC 14 gains a new "-Wanalyzer-infinite-loop" option to try to detect simple cases of infinite loops occurring" - isn't this the halting problem? Have they solved it somehow? Does #GCC14 run on #QuantumComputers?
This version does NOT ‘swap channels’, as have my earlier versions, and therefore is unobjectionable in that regard.
(Channel-swapping is mathematically equivalent, ‘in the limit as n->infinity’. Nonetheless it did not give strictly correct statistics for the simulation. It gave merely a less accurate approximation.)