<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Using MPFR doesn't solve anything, in fact it will often be worse as it<br>
won't agree with even the native libm.<br></blockquote><div><br></div><div>Libraries like MPFR solve problems, just not the one mentioned in this thread. There are tradeoffs to both approaches if you need a cross compiler. It's common in HPC, for instance, to compile and run code on different architectures. Even with the same base architecture (x86) there could be subtle differences between say, Haswell and Skylake host libraries. I'm not sure I agree that it's "often worse", though. I've found it to be quite the opposite.</div></div></div>