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…

Advertisements
  1. August 7, 2010 at 1:02 am

    Why not add a NAND as well?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: