<div dir="ltr"><div dir="ltr">> Why (re-invent the wheel)?<br>> Why not use Math.Float?<br>> IIRC then this is Extended, double or Single depending on CPU type.<br>> And always the largest precision the CPU supports.<br></div><div><br></div><div>Thanks Bart. Math.Float is really great, I will start using it today.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 6, 2024 at 2:51 PM Bart <<a href="mailto:bartjunk64@gmail.com">bartjunk64@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Feb 6, 2024 at 6:13 PM Rafael Picanço via fpc-pascal<br>
<<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a>> wrote:<br>
<br>
<br>
> type<br>
>   {$IFDEF CPU86}{$IFDEF CPU32}<br>
>     TLargerFloat = Extended;<br>
>   {$ENDIF}{$ENDIF}<br>
><br>
>   {$IFDEF CPUX86_64}<br>
>     TLargerFloat = Double;<br>
>   {$ENDIF}<br>
<br>
Why (re-invent the wheel)?<br>
Why not use Math.Float?<br>
IIRC then this is Extended, double or Single depending on CPU type.<br>
And always the largest precision the CPU supports.<br>
<br>
-- <br>
Bart<br>
</blockquote></div></div>