On Thu, May 21, 2009 at 10:26, dmitrey <dmitrey.kros...@scipy.org> wrote: > Hi all, > I expected to have some speedup via using ldexp or multiplying an > array by a power of 2 (doesn't it have to perform a simple shift of > mantissa?),
Addition of the exponent, not shift of the mantissa. > but I don't see the one. I said there *might* be a speedup, but it was probably going to be insignificant. The overhead of using frexp and ldexp probably outweighs any benefits. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion