The Signal State

The Signal State

View Stats:
Electric Fence Optimisation (Optional)
I solved this but my approach for determining if it's a multiple of 5/2 seems very heavy.

For 5 for instance I'm attenuiting it to 20%, then summing that back up 5 times, and subtracting it from the original value to see if there's a difference

Anyone got any other simpler approaches?
< >
Showing 1-2 of 2 comments
Oct 28, 2021 @ 7:54am 
Bunch of folks in the discord have shared alternative solutions!
Thanks, looked on the discord, and while there's some small optimisations, it's looks like my algorithm for determining multiples is the answer.
< >
Showing 1-2 of 2 comments
Per page: 1530 50