sqrt(...)
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.
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.
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)
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.
If b * b = a then b is a square root of a.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement