[Haskell-cafe] Problems with square root...

Daniel Carrera daniel.carrera at zmsl.com
Wed Dec 21 13:10:56 EST 2005

Daniel Carrera wrote:
> Hey,
> The sqrt function is not doing what I want. This is what I want:
> round sqrt(2)

Sigh... never fails. Spend an hour trying to solve a problem, and a 
minute after you write to the list you find the solution. I need 
brackets around sqrt. I'm surprised though. I don't understand why it 
dosn't work without brackets.

      /\/`) http://oooauthors.org
     /\/_/  http://opendocumentfellowship.org
    \/_/    I am not over-weight, I am under-tall.

More information about the Haskell-Cafe mailing list