¡@

Home 

c++ Programming Glossary: fastpow

Optimizations for pow() with const non-integer exponent?

http://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const-non-integer-exponent

unsigned expden unsigned coeffnum unsigned coeffden __m128 fastpow __m128 arg __m128 ret arg std printf arg vg n ret Apply a constant.. .015 or 2 orders of magnitude better than the initial fastpow result. The runtime is about a dozen cycles for a busy loop.. accuracy from one call. Always an overestimate. __m128 x1 fastpow 24 10 1 1 x0 std printf Direct x^2.4 vg n x1 Lower exponents..

Why is splitting a string slower in C++ than Python?

http://stackoverflow.com/questions/9378500/why-is-splitting-a-string-slower-in-c-than-python