Jump to content

Talk:Ternary logic: Difference between revisions

→‎if a then b: new section
(→‎C example: new section)
(→‎if a then b: new section)
Line 16:
 
Could have been better (I could have bothered to do a table), but I hope the C example is sufficiently and approriately clear, fast and clever. Hopefully, I'll get around to implementing the C++ version using templates. --[[User:Short Circuit|Michael Mol]] 17:23, 26 August 2011 (UTC)
 
== if a then b ==
 
What is if a then b condition? It's not a straightforward conditional like <code>if a then: b; else:a;</code>. Looks more like if we define false <= maybe, maybe <= true, false < true, the "if a then b" condition is the same as a <= b. Some clarification? --[[User:Ledrug|Ledrug]] 01:07, 27 August 2011 (UTC)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.