Get the New Tools
#15
i would suggest the use of this one as a power script
//made by Kirin (iterative pow algorithm, exponents are forced into integers)
alias pow [
alias pow_exp $arg2
alias pow_base $arg1
if (= $pow_exp 0) [result 1] [
if (< $pow_exp 0) [*= pow_exp -1] []
-= pow_exp 1
loop i $pow_exp [*=f pow_base $arg1]
if (> $arg2 0) [result $pow_base] [result (divf 1 $pow_base)]
]
]
REASONS:
this one i made is iterative and not recursive so it's MUCH more efficient on the memory use and on the stack, plus it uses the new AC operators and it's code is shorter and it doesnt need two functions just one.
Thanks given by:


Messages In This Thread
Get the New Tools - by V-Man - 16 Dec 10, 12:37PM
RE: Get the New Tools - by Gibstick - 16 Dec 10, 01:59PM
RE: Get the New Tools - by V-Man - 16 Dec 10, 05:30PM
RE: Get the New Tools - by Andrez - 16 Dec 10, 02:27PM
RE: Get the New Tools - by DEKiMA - 16 Dec 10, 08:25PM
RE: Get the New Tools - by Bukz - 16 Dec 10, 04:47PM
RE: Get the New Tools - by Gibstick - 16 Dec 10, 11:21PM
RE: Get the New Tools - by Blue_Pr!nt - 17 Dec 10, 01:10AM
RE: Get the New Tools - by Gibstick - 17 Dec 10, 03:13AM
RE: Get the New Tools - by sputnik - 17 Dec 10, 11:17AM
RE: Get the New Tools - by Gibstick - 17 Dec 10, 01:10PM
RE: Get the New Tools - by V-Man - 17 Dec 10, 04:40PM
RE: Get the New Tools - by sputnik - 17 Dec 10, 08:57PM
RE: Get the New Tools - by V-Man - 18 Dec 10, 12:32AM
RE: Get the New Tools - by Kirin - 23 Dec 10, 08:43AM
RE: Get the New Tools - by V-Man - 23 Dec 10, 03:04PM
RE: Get the New Tools - by sputnik - 23 Dec 10, 07:29PM
RE: Get the New Tools - by V-Man - 23 Dec 10, 07:50PM
RE: Get the New Tools - by sputnik - 24 Dec 10, 01:02AM
RE: Get the New Tools - by V-Man - 24 Dec 10, 01:17AM
RE: Get the New Tools - by V-Man - 25 Dec 10, 04:20PM
RE: Get the New Tools - by Kirin - 27 Dec 10, 08:55AM
RE: Get the New Tools - by V-Man - 27 Dec 10, 04:47PM
RE: Get the New Tools - by V-Man - 17 Jan 11, 03:24PM
RE: Get the New Tools - by Bukz - 19 Jan 11, 02:26AM
RE: Get the New Tools - by V-Man - 19 Jan 11, 03:48AM
RE: Get the New Tools - by eftertanke - 19 Jan 11, 04:01AM
RE: Get the New Tools - by V-Man - 19 Jan 11, 04:09AM
RE: Get the New Tools - by eftertanke - 19 Jan 11, 04:25AM
RE: Get the New Tools - by V-Man - 19 Jan 11, 04:31AM
RE: Get the New Tools - by eftertanke - 19 Jan 11, 04:33AM
RE: Get the New Tools - by Ronald_Reagan - 31 Jan 11, 05:06AM
RE: Get the New Tools - by Bukz - 31 Jan 11, 02:02PM
RE: Get the New Tools - by V-Man - 31 Jan 11, 05:32PM
RE: Get the New Tools - by Bukz - 31 Jan 11, 11:50PM
RE: Get the New Tools - by V-Man - 01 Feb 11, 12:23AM
RE: Get the New Tools - by V-Man - 16 Feb 11, 06:28PM
RE: Get the New Tools - by Gibstick - 16 Feb 11, 10:12PM
RE: Get the New Tools - by V-Man - 20 Feb 11, 08:47AM
RE: Get the New Tools - by V-Man - 09 Mar 11, 09:34AM
RE: Get the New Tools - by V-Man - 01 Apr 11, 07:04AM
RE: Get the New Tools - by Bukz - 11 Mar 11, 10:03PM
RE: Get the New Tools - by Orynge - 01 Apr 11, 07:29AM
RE: Get the New Tools - by V-Man - 01 Apr 11, 08:13AM
RE: Get the New Tools - by eftertanke - 01 Apr 11, 08:27AM
RE: Get the New Tools - by Orynge - 01 Apr 11, 08:27AM
RE: Get the New Tools - by eftertanke - 01 Apr 11, 08:33AM
RE: Get the New Tools - by V-Man - 01 Apr 11, 08:31AM
RE: Get the New Tools - by V-Man - 01 Apr 11, 08:37AM
RE: Get the New Tools - by eftertanke - 01 Apr 11, 08:37AM
RE: Get the New Tools - by Orynge - 01 Apr 11, 08:37AM
RE: Get the New Tools - by V-Man - 01 Apr 11, 09:01AM
RE: Get the New Tools - by eftertanke - 01 Apr 11, 09:01AM
RE: Get the New Tools - by Bukz - 01 Apr 11, 09:30AM
RE: Get the New Tools - by V-Wifey - 02 Apr 11, 02:00AM
RE: Get the New Tools - by Neon - 02 Apr 11, 02:04AM
RE: Get the New Tools - by Yarukinasu - 02 Apr 11, 05:34AM
RE: Get the New Tools - by eftertanke - 02 Apr 11, 05:42AM
RE: Get the New Tools - by V-Man - 02 Apr 11, 07:06AM
RE: Get the New Tools - by Orynge - 03 Apr 11, 05:43AM
RE: Get the New Tools - by V-Wifey - 03 Apr 11, 01:09AM
RE: Get the New Tools - by eftertanke - 03 Apr 11, 06:57AM