Home > Information, RobotC Code > More fun with Math – Boolean Functions

More fun with Math – Boolean Functions

This is a quick post about some more math functions I found that might be useful.

I found a reference on the net that defined some boolean functions.  I added these to may math utility libary (just in case) and tested them.

image

OR, AND & NOT are already implemented in RobotC, but I included them because the math and logic to get the correct answer is kind of cool. 

Let me know what you think.

(I added a couple more boolean functions to the list tonight…

  1. August 7, 2010 at 1:02 am

    Why not add a NAND as well?

  1. No trackbacks yet.

Leave a comment