DevMetric is the spot for developers to rate and review development tools.
Sign up for free to start sharing your opinion today!

Top Rated

Recently Added

Join the Evans Data Developer Panel!

As a panelist you will:

1. Have your voice heard on hot topics, innovative technologies and key initiatives
2. Receive points for every validated survey submission
3. Redeem award points for valuable prizes.


What does this code do?

def what( x, n ):
	if n < 0:
	n = -n
	x = 1.0 / x
	z = 1.0
	while n > 0:
	if n % 2 == 1:
	z *= x  
	x *= x
	n /= 2

return z

Programming Language: Python

Get Top Tools In Your Inbox

Get the best tools sent directly to your inbox!