might use JMAFastSqrt instead, who knows
| 53 | |
| 54 | // might use JMAFastSqrt instead, who knows |
| 55 | float stspeedy_sqrtf(register float x) |
| 56 | { |
| 57 | register float recip; |
| 58 | |
| 59 | if (x > 0.0f) |
| 60 | { |
| 61 | __asm { frsqrte recip, x } |
| 62 | return recip * x; |
| 63 | } |
| 64 | return x; |
| 65 | } |
| 66 | |
| 67 | float stLength2(float x, float z) |
| 68 | { |
no outgoing calls
no test coverage detected