<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Martin Frb via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> schrieb am Mi., 10. Juli 2024, 19:21:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Any hints on using unit SoftFpu? (or any alternative)<br>
<br>
I have an 80 bit float (from an external source) that needs to be <br>
converted to double.<br>
<br>
But if I do<br>
uses softfpu, ufloatx80<br>
<br>
then I get<br>
Error: Multiple defined symbol "INT32_TO_FLOAT64"<br>
<br>
and many more...<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The SoftFpu unit is only intended for use by the compiler. If you want to use 80-bit floating point yourself you need to use ufloat80 and sfpux80 (the later wraps the same include files as SoftFpu, but for use by the user). </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>