Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
I was having a think about a completely different problem, then procrastinated, and stumbled in this problem:
What is the most number of ways to achieve a MS function without using the function itself? What function can be duplicated in the most ways?
My first thought was the Cross() function...
Instead of:
x:=Mov(C,21,S);
y:=Mov(C,55,S);
Cross(x,y)
we can write:
[list:aa8ba5a32a]
[*:aa8ba5a32a]x:=Mov(C,21,S);
y:=Mov(C,55,S);
x>y and Ref(x<=y,-1);
[*:aa8ba5a32a]x:=Mov(C,21,S);
y:=Mov(C,55,S);
z:=x>y;
z and ref(z=0,-1);
{really similar to the one above, but isnt that what we are proving?}
[*:aa8ba5a32a]x:=Mov(C,21,S);
y:=Mov(C,55,S);
z:=x>y;
z and alert(z=0,2);
[*:aa8ba5a32a]x:=Mov(C,21,S);
y:=Mov(C,55,S);
z:=x>y;
Sum(z,2)=1
{works in either direction!}
[/list:u:aa8ba5a32a]
Anyone got any more?
Maybe another function?
Lets have some fun! \\:D/
wabbit :D
|