- #26

mfb

Mentor

- 35,803

- 12,528

I'd like to deposit

`" "`

in my bank account please. That should be free, right?You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- B
- Thread starter e2m2a
- Start date

- #26

mfb

Mentor

- 35,803

- 12,528

I'd like to deposit

`" "`

in my bank account please. That should be free, right?- #27

Nugatory

Mentor

- 13,686

- 6,970

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.

IEEE-754 is one of the underappreciated triumphs of computing, making the world safer for the naive every day.

- #28

- 1,046

- 1,119

The nth root of x given by =int(x^(1/n)) in Excel is an integer ;)

- #29

jbriggs444

Science Advisor

Homework Helper

- 10,510

- 5,111

Are you suggesting something like...The nth root of x given by =int(x^(1/n)) in Excel is an integer ;)

Put some positive integer into A1

Put some positive integer into A2

Put =A1^A2 into A3

Put

Observe that A4 is equal to A1 unless an overflow has occurred while computing A3

- #30

- 1,046

- 1,119

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

- #31

Baluncore

Science Advisor

2021 Award

- 10,361

- 4,688

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.

Share:

- Replies
- 3

- Views
- 243

- Replies
- 10

- Views
- 1K