Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csqsqrt.h File Reference
Fast computation of sqrt(x) and 1/sqrt(x). More...
#include <math.h>
Go to the source code of this file.
Functions | |
float | csQsqrt (float x) |
This routine computes sqrt(x) very quickly on Intel and PowerPC platforms. | |
float | csQisqrt (float x) |
This routine is basically equivalent to csQsqrt() except that it returns 1/sqrt(x) rather than the proper square root. |
Detailed Description
Fast computation of sqrt(x) and 1/sqrt(x).Define CS_NO_QSQRT if you experience mysterious problems with CS which you think are related to this version of sqrt not behaving properly. If you find something like that I'd like to be notified of this so we can make sure this really is the problem.
Definition in file csqsqrt.h.
Generated for Crystal Space by doxygen 1.3.9.1