Calculating the fixed-point representation of (1 – SQRT(0.5)) precisely
stackoverflow.com
stackoverflow.com
which should be...? in my understanding, youll only have limited sizes up to 64 bits, maybe 128 bits. If you want higher precision than your processor bit architecture then youll be better off using BigInts anyway. If you want a replacement for BigInt calculations then plain straight say so
That link in your question also points to the algo for sqrt(x), should be possible to optimize for 1-sqrt(1/2) but as i said im not into maths