#include <common/FixedVector.h>Go to the source code of this file.
Defines | |
| #define | sqrt_step(shift) |
Functions | |
| static long long | iSqrtLL (long long value) |
| static long | iSqrtL (long value) |
Variables | |
| static FixedVector | nullVector |
| #define sqrt_step | ( | shift | ) |
Value:
if((0x40000000l >> shift) + root <= value) \ { \ value -= (0x40000000l >> shift) + root; \ root = (root >> 1) | (0x40000000l >> shift); \ } \ else \ { \ root = root >> 1; \ }
Definition at line 31 of file FixedVector.cpp.
| static long iSqrtL | ( | long | value | ) | [static] |
Definition at line 73 of file FixedVector.cpp.
References sqrt_step.
Referenced by FixedVector::Magnitude().
| static long long iSqrtLL | ( | long long | value | ) | [static] |
Definition at line 42 of file FixedVector.cpp.
References sqrt_step.
Referenced by FixedVector::Magnitude().
FixedVector nullVector [static] |
Definition at line 23 of file FixedVector.cpp.
1.5.3