The ldexp function
Opened this issue · 2 comments
BruceSherwood commented
There is code at the start of visual_all.py that tries to make sure that sqrt(x) uses the math function rather than the numpy function if x is a simple float, because the numpy version is surprisingly slow if x isn't a numpy array. This code seems to assume that all the treated functions take one argument, but in fact ldexp and frexp take two arguments. Probably these two function should simply be eliminated from the special treatment in visual_all.py.
solumos commented
Does this mean that the functions simply need to be removed from the tuple literal on lines 43-45?
BruceSherwood commented
I don't know. It should be tried.