News for hackers. Stuff that matters.
Re:Rewriting Fortran Software in Rust by Animats on Wednesday July 15, 2020 @05:55PM (#23852586)
I saw that done years ago in assembler for UNIVAC mainframes. Tear apart the exponent and mantissa. Shift mantissa if exponent is odd. Shift exponent right one bit to get square root of exponent. Look up starting guess from table using a few high bits of mantissa. Run two iterations of Newton's method. Reassemble mantissa and exponent. Normalize. Done.
Re:Rewriting Fortran Software in Rust by saagarjha on Wednesday July 15, 2020 @09:23PM (#23854680)
Is it possible to keep ulp precision in all cases after doing all that separation, normalization, and recombination?