http://graphics.stanford.edu/~seander/bithacks.html
Contents
http://bits.stephan-brumme.com/
| • February 11, 2007: |
Sign of a 32 bit integer |
| • February 11, 2007: |
Float inverse square root approximation |
| • February 7, 2007: |
Detects zero bytes inside a 32 bit integer |
| • January 31, 2007: |
Minimum / maximum of integers |
| • January 31, 2007: |
Absolute value of an integer |
| • January 28, 2007: |
Endianess |
| • January 28, 2007: |
Round up to the next power of two |
| • January 28, 2007: |
Position of lowest bit set |
| • February 11, 2007: |
Approximative inverse of a float |
| • February 7, 2007: |
Float square root approximation |
| • January 31, 2007: |
Absolute value of a float |
| • January 28, 2007: |
Count bits set in parallel a.k.a. Population Count |
| • January 28, 2007: |
Parity |
| • January 28, 2007: |
Is power of two |
네......................
영어입니다.
|