worktycho
worktycho
IntNoise1DInt and IntNoise2DInt relies heavily on undefined overflow behaviour. This should be changed to avoid overflow. Relevant Errors from clang sanitize run from #1606: > /home/tommy/MCServer/src/./Noise/Noise.h:222:16: runtime error: signed integer...
Seed value can be large so can cause overflows in the multiplication that is passed the constructor. This should be fixed to avoid the overflow. Relevant error from clang sanatize...
When creating Nets as part of extending a Bus, create the nets as part of the circuit of what we want to connect them to, rather than the default circuit....