Skip to content

Fast Math Functions #352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iabdalkader opened this issue Mar 18, 2014 · 4 comments
Closed

Fast Math Functions #352

iabdalkader opened this issue Mar 18, 2014 · 4 comments

Comments

@iabdalkader
Copy link
Contributor

Hi,
Found some fast math functions here:
http://code.google.com/p/math-neon/source/browse/trunk/?r=28
There are two versions of each function, neon and a fast software approximation, the library is released under LGPL.

@dpgeorge
Copy link
Member

They look very nice. Does the STM32F405 have Neon SMD instructions?

The LGPL is an issue... we can't just include it in the uPy source tree.

@iabdalkader
Copy link
Contributor Author

no it doesn't, VFP/some SIMD instructions only, but this has all the math functions we might ever need (and will compile for other platforms) why can't we use LGPL ?

@dpgeorge
Copy link
Member

We can't include LGPL source in the repo here, nor modify that source and use it, unless we convert to LGPL. We can link against it, but that's it.

Musl is MIT and includes all math functions, written in C. We could use that.

@iabdalkader
Copy link
Contributor Author

it might be worth building as a library if MP is ported to a platform with Neon ? could be used to implement something like numpy maybe ? anyway, I will close this now since it's not very useful at the moment.

tannewt added a commit to tannewt/circuitpython that referenced this issue Oct 20, 2017
tannewt added a commit to tannewt/circuitpython that referenced this issue Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants