# Words

URL: /words/

## Fast inverse square root
The most famous bitwise hack in gaming history — the fast inverse square root, specifically designed to accelerate `1 / sqrt(x)` in vector normalization:

```c
float Q_rsqrt(float number)
{
    long i;
    float x2, y;
    const float threehalfs = 1.5f;

    x2 = number * 0.5f;
    y  = number;

    i  = *(long *)&y;            // evil floating point bit level hacking
    i  = 0x5f3759df - (i >> 1);  // what the fuck?
    y  = *(float *)&i;

    y  = y * (threehalfs - (x2 * y * y));   // 1st iteration

    return y;
}
```

Combined with vector length, you can directly compute normalized normals, and back in the day it was much faster than the standard library.

## To be, or not to be
To be, or not to be, that is the **question**: Whether 'tis nobler in the mind to suffer the slings and arrows of outrageous fortune, or to take arms against a sea of troubles, and by opposing end them?

## Talk is cheap. Show me the code.
Talk is cheap. Show me the `code`.

## Write your word title here
Write the quote or note content here.
