[libre-riscv-dev] fp special functions

Jacob Lifshay programmerjake at gmail.com
Sun Aug 4 19:51:02 BST 2019


On Sun, Aug 4, 2019, 11:31 Atif Zafar <atif at pixilica.com> wrote:

> Excellent thank you so much Jacob and Luke. Have you seen this:
>
have not seen any of them yet, thanks!

https://github.com/freecores/trigonometric_functions_in_double_fpu
>
appears to implement only a look-up table for integer multiples of 1
degree, probably not useful for our purposes

https://github.com/freecores/tanhapprox
>
appears to approximate atanh(x) as x with a lookup table for a few special
cases, probably not useful for anything but machine learning (though, for
ML, max(x,x/256) is simpler and would probably work just as well).

https://github.com/freecores/pipelined_fixed_point_elementary_functions
>
uses cordic for atan2 -- didn't check the rest -- appears useful

Jacob

>


More information about the libre-riscv-dev mailing list