https://ideas.creativecasinoties.com/post/floating-point-from-scratch-hard-mode-9f143m