Comment on Faster floating point math with Rust's new APIparentComments−kibwen1mo> you will never be able to store a "true" irrational number in a computer.Joke's on you, in my programming language all numbers are written in phinary: https://en.wikipedia.org/wiki/Golden_ratio_base−afdbcreid1moIt must be interesting to program in it!But yes, you can absolutely represent irrational numbers (only a finite amount of them of course). You can even do it symbolically.
Comments
> you will never be able to store a "true" irrational number in a computer.
Joke's on you, in my programming language all numbers are written in phinary: https://en.wikipedia.org/wiki/Golden_ratio_base
It must be interesting to program in it!
But yes, you can absolutely represent irrational numbers (only a finite amount of them of course). You can even do it symbolically.