Advertisement

sqrt(...)

Started by May 22, 2000 12:24 PM
4 comments, last by SKSlayer 24 years, 6 months ago
what is sqrt(...) ? which library does it comes from ? how do I use it ? whatfor ?
(you can find me on IRC : #opengl on undernet)
sqrt() is the square root function. It''s either in math.h or stdlib.h (can''t remember which).

You can use it for anything you''d need a square root for. Of course, it''s pretty slow. If you need it in a speedy way, you could think about lookup tables.
Advertisement
I am french and I don''t understand Square root ... Could you give me an example




-----------------
(you can find me on IRC : #opengl on undernet)
(Example)

5 * 5 = 25
sqrt(25) = 5

"Square root" = Ö

---------------
kieren_j
The square root of a number a is a number b such that when multiplied b is multiplied by itself a is the result.

If b * b = a then b is a square root of a.
Ooooh Yeah

Thank you very much, hey, that look awesome
(you can find me on IRC : #opengl on undernet)

This topic is closed to new replies.

Advertisement