3 points · by prtg · 3y ago · 1 comment
It's an interesting question: can computer do that same thing automatically? Can we somehow tell the compiler: "this variable's interesting range is 1-100 and I only need 10LSBs of precision.. feel free to optimize under those assumption"?