Yes, although that statement might easily be misunderstood by someone who hasn’t been through the wars. As many pre-IEEE floating point designs demonstrated, “exact and predictable” does not preclude “bizarre and surprising”.However, floating point has exact and predictable behavior.
Are you suggesting something like...The nth root of x given by =int(x^(1/n)) in Excel is an integer ;)
It was just an attempt at a joke, but per the OP x would be a^some odd power and n would be 1/2Are you suggesting something like...
Put some positive integer into A1
Put some positive integer into A2
Put =A1^A2 into A3
Put =INT(A3^(1/A2)) into A4
Observe that A4 is equal to A1 unless an overflow has occurred while computing A3
Did you notice that if you write any of those irrational square roots as a continued fraction, they always repeat.From the research I have done since posting, it says that the square root of any non-square integer is always an irrational number.