Darwinbots Forum
Code center => Suggestions => Dead-End and Solved Suggestion Requests => Topic started by: Botsareus on February 23, 2005, 04:41:26 PM
-
Example of a power function will be
3.5
3
pow
20
store
it means
memory(20) = 3.5 * 3.5 *3.5
If anyone can provide a website that better explains the power function go ahead
-
We have a power function.
cond
start
2 5 ^
50 store
stop
plug this into a txt file, load it into DB, open console, and type ? 50
you will see 50->32
-
and you can't have digits in the memory locations.
Memory is in integers. If you want more digits of precision, you have to use stack manipulations to get it.
-
ok it does not say in the help files so I did not know
The new qustion is:
Do we need help with the ^ operator?
-
F. ^ - takes the second value on the stack to the first value on the stack power. Ie: 5 2 ^ places 25 onto the stack
You've read the readme for 2.35 right? Because this is all in there.
-
Ok its in the readme nm....
PY I AM FOOL DELETE THIS POLL
I wish there was a way to delete my own posts sometimes ....
-
Obviously one that I missed in the online Help window.
:( PY :(
-
ok I ask this qustion a lot but , this ^ mutates too right?
-
And that would be because.....
The version with the new help stuff in hasn't been released yet.
DUH?
:huh: PY :huh:
-
As far as I know, ^ will mutate too. Haven't actually checked yet.
-
Absolutely
What part of [span style=\'font-size:14pt;line-height:100%\']EVERTHING[/span] is it that you don't understand :rolleyes:
Just Razzin ya B)
:D PY :D
-
thats all for tuday got to go help my mom
ok ok everything means everything , its just I never seen mutations really be usefull yet , I hope this day will come
ok just incase a list of what to check for mutations:
can program insert/remove this
*add
*sub
*div
*mult
*^
*stuff like :
*21
store
thats the list I gtg
-
Actually that isn't quite correct since I haven't actually added the specific code to allow it to be mutated.
SHEESH!
It's only a one liner for god sake.
:rolleyes: PY :rolleyes:
-
"RYTH" confuses me.
I get as far as EVE and as far at the end as ING, but the middle throws me.