symengine icon indicating copy to clipboard operation
symengine copied to clipboard

basic_log10 is not exported

Open davidpfister opened this issue 2 years ago • 0 comments

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.

davidpfister avatar Jan 30 '24 10:01 davidpfister