3 ms·
Isn't pi always slightly incorrect in a computer?
by ClassyJacket 2y ago
Isn't pi always slightly incorrect in a computer?
- chungy 2y agoits exact value can expressed pretty simply: π
- ClassyJacket 2y agoOkay, now go do calculations for a game's rendering using that. Show me the code.
- _joel 2y agoyes, you can only represent it to a certain number of decimal points I guess, for speed. This was typed in incorrectly though.
- glimshe 2y agoYes, but not necessarily enough for the error to cross pixel boundaries, or at least more than a pixel. So while incorrect, it would be hardly, if at all, noticed.