Get the New Tools
#7
roundf = [
if (>= (+f ($arg1) 0.5) (+ ($arg1) 1.0)) [
(+ ($arg1) 1)] [
(+ ($arg1) 0)]

//Exponent script "exp 5 2" = 5^2
alias powerloop [
    (alias product (*f $base $product));
    (alias power (+f $power 1));
    (if (<f $power $pow) [powerloop] [result $product])]

alias exp [
(alias product 1);
(alias power 0);
(alias base $arg1);
if (<f $arg2 0) [alias pow (*f $arg2 -1); negexp = 1] [alias pow $arg2; negexp = 0];
if (!= $negexp 1) [powerloop base pow] [(divf 1 (powerloop base pow;))]
]
]
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