2 ms·
Intel's Manual says to use FLDPI. The x87 FPU represents pi internally at extended-extended-precision, so it's more like fp82 :D Were you thinking about the ar
by jart 6y ago
Intel's Manual says to use FLDPI. The x87 FPU represents pi internally at extended-extended-precision, so it's more like fp82 :D Were you thinking about the argument reduction gotcha? http://galaxy.agh.edu.pl/~amrozek/AK/x87.pdf http://galaxy.agh.edu.pl/~amrozek/AK/x87.pdf
- olliej 6y agoFldpi only loads the register, rounding according to the current rounding mode, so you still only have 63 bits of precision when you load the value. For intermediate calculations it incorporates the internal extended pi via the GRS bits. And yeah the train wreck of argument reduction was my reference