chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance question concerning chicken flonum vs "foreign flonum"


From: felix . winkelmann
Subject: Re: Performance question concerning chicken flonum vs "foreign flonum"
Date: Sun, 10 Apr 2022 11:04:36 +0200

> Dear felix,
>
> after coming back to this function and the associated issues regularly, I 
> revised my opinion on integrating"fp+*" into (chicken flonum), given it uses 
> the C99-fma function. On the one hand, this operation is so fundamental in 
> numerical computations that it warrants a specialized function, on the other 
> hand the (somewhat) improved rounding could help a little. Finally, Gauche ( 
> https://practical-scheme.net/gauche/man/gauche-refe/R7RS-large.html#index-fl_002b_002a
>  ) and MIT Scheme ( 
> https://www.gnu.org/software/mit-scheme/documentation/stable/mit-scheme-ref.html#Flonum-Operations
>  ) provide this functionality. All in all, I would really appreciate if an 
> inclusion of a fma-based "fp+*" function into the (chicken flonum) module 
> could be considered in future versions of CHICKEN Scheme. Maybe your provided 
> patch reduces the effort for this.

All right, I'll submit the existing patch to the mailing list. Thanks for your
suggestion - it makes sense to follow the other implementations here.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]