It's explained exceptionally well here [0].
Plus the exact constant selected and the method used to derive it remains a minor mystery, right? In the sense that it is good but non-optimal.
The guy had made Doom (nice fast pseudo 3D), Quake (fast 3D), and now made it look great.
Finding obscure math and figuring out that it was the correct fit for his renderer is just so bonkers.