Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: [Study]: Searching for square roots

by jimbojones (Friar)
on Nov 14, 2006 at 14:07 UTC ( #583966=note: print w/ replies, xml ) Need Help??


in reply to [Study]: Searching for square roots

Hi,

I think your problem is in your assumption of the maximum possible value for the square root of numbers in the range of 0 to 1.

I managed to fix your code with one line to handle the 0.5 case, but I'll leave it to you to find it.

- j


Comment on Re: [Study]: Searching for square roots

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://583966]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-10-20 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (75 votes), past polls