Skip to content
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

basic_log10 is not exported #2004

Open
davidpfister opened this issue Jan 30, 2024 · 0 comments
Open

basic_log10 is not exported #2004

davidpfister opened this issue Jan 30, 2024 · 0 comments

Comments

@davidpfister
Copy link

davidpfister commented Jan 30, 2024

On version 0.11, the function basic_log10 is not exported.
See the dumpbin export

32154 7D99 000F3DA0 basic_loads
32155 7D9A 000F3EA0 basic_log
32156 7D9B 000F3F10 basic_loggamma
32157 7D9C 000F3F80 basic_lowergamma
32158 7D9D 000F3FF0 basic_max

Since I am trying to use it from the symengine.f90 wrapper, that export is necessary for the proper interop. Besides this, 👍 , everything seems to works fine.

To reproduce the issue, you can try to parse the following equation taken from this benchmark

'(x+y+z+x*y+x*z+y*z+x/y+x/z+y/z+x*cos(x)+y*sin(y)+z*tan(z)*2/(x+y+z+x*y+x*z+y*z+x/y+x/z+y/z+x*cos(x)+y*sin(y)+z*tan(z))*3+sqrt(x*y*z+x+y+z)*log10(sqrt(x*2+y*2+z*2)+x+y+z))'

If you substitute log10 with log, the test runs without any problem.

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

1 participant