Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Rational or Not? This Basic Math Question Took Decades to Answer. Parent comment
when x is an irrational number > 1:
"x - floor(x)" is just the fractional part of x, so it's an irrational number which is not equal to x.
Subtracting the fractional part from the original leaves only the integer part, which is obviously rational.
There are no comments on this comment yet.
when x is an irrational number > 1:
"x - floor(x)" is just the fractional part of x, so it's an irrational number which is not equal to x.
Subtracting the fractional part from the original leaves only the integer part, which is obviously rational.