On 2020-02-20 05:53, Richard Hainsworth wrote:
However, my question to you is: when would you come across an irrational
number in a computer? How would you express it? Suppose I gave you a
function sub irrational( $x ) which returns true for an irrational
number. What would you put in for $x?
Hi Todd,
This is going to be hard for an intuitive guy like you, but it can be
proven that 100% of all numbers are irrational (see
https://math.stackexchange.com/questions/1556670/100-of-the-real-numbers-between-0-and-1-are-irrational
).
Except the ones that a computer can do operations on, which