Category talk:Wizardry and Steamworks

From Second Life Wiki
Revision as of 00:19, 27 November 2011 by Strife Onizuka (talk | contribs) (3-Term Logical Disjunction Using Vectors)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

3-Term Logical Disjunction Using Vectors

I'm a bit confused why there is so much extra logic in the Universal NOR, the following gives the same value to Q. <lsl>integer Q = !((integer)I.x || (integer)I.y || (integer)I.z); //or even integer Q = !(integer)(I * I);//this is a cheat and computationally more expensive but oh so elegant.</lsl> -- Strife (talk|contribs) 23:19, 26 November 2011 (PST)