> Am 19.12.2021 um 14:38 schrieb Jonas Maebe via fpc-devel 
> <fpc-devel@lists.freepascal.org>:
> 
> On 19/12/2021 14:21, Nikolai Zhubr via fpc-devel wrote:
>> Just out of curiosity, couldn't bochs' x87 fpu implementation be of some use 
>> here?
>> It is approx 12k of C code and it is LGPL. Supposedly it is not fast but 
>> conformant.
>> Or does it need to be (re-)implemented in Pascal itself?
>> (Not implying it would be easy anyway, but still)
> 
> Note that FPC needs LGPL + static linking exception (the softfloat units are 
> in the RTL).

Nikolai might be right, looking at it’s license it seems usable:

https://github.com/lubomyr/bochs/blob/master/cpu/fpu/fsincos.cc

Same as the softfloat code we use it seems.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to