in reply to Re^3: root function
in thread root function

Too slow!

This gives you accidentally the right result but it would tell you that square root of -2 == -1.414265...

But -1.414265... is a square root of 2. :)

Update: Ack! ignore this post.

Replies are listed 'Best First'.
Re^5: root function
by sasdrtx (Friar) on Jun 21, 2008 at 23:17 UTC
    More to the point: it is not the square root of -2.

    sas
Re^5: root function
by psini (Deacon) on Jun 21, 2008 at 22:03 UTC

    Too slow?

    No, it is only that if I wait before answering, my answers worth more... proposition for Voting system :)

    Careful with that hash Eugene.