|
|
|
|
|
by tscs37
2950 days ago
|
|
You can somewhat mitigate the typo problem with integers by encoding them to the outside with parity included. An 8 bit parity should be able to easily tell any possible typo in a 32 or 64bit integer and even correct errors. You could even put the parity into the lowest 8 bit of the integer. I'm currently working on this for a project of mine to not only prevent typos but tolerate them by using the parity and using letters that are far apart on my QWERTZ keyboard (bit local but it should work for most keyboard sets and I have parity to fall back on) |
|