Closed tgiphil closed 1 year ago
Read Hacker's Delight book.
Use the following to determine the magic numbers.
https://github.com/hcs0/Hackers-Delight/blob/master/magicu.c.txt
https://github.com/hcs0/Hackers-Delight/blob/master/magic.c.txt
Additional reference:
https://github.com/jart/cosmopolitan/blob/master/libc/tinymath/magicu.c https://github.com/jart/cosmopolitan/blob/master/libc/tinymath/magicu.h
Read Hacker's Delight book.
Use the following to determine the magic numbers.
https://github.com/hcs0/Hackers-Delight/blob/master/magicu.c.txt
https://github.com/hcs0/Hackers-Delight/blob/master/magic.c.txt