🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
sqrt(...)
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
-----------------
-----------------
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