AND | OR | NOT |
---|---|---|

&& | || | ~(! in C and C++) |

AND | OR | NOT |
---|---|---|

· | + | ~ |

(looks like multiplication) | (looks like additionexcept for 1 OR 1) | |

A · B => C | ||

A | B | C |

0 | 0 | 0 |

0 | 1 | 0 |

1 | 0 | 0 |

1 | 1 | 1 |

A + B => C | ||

A | B | C |

0 | 0 | 0 |

0 | 1 | 1 |

1 | 0 | 1 |

1 | 1 | 1 |

Last updated 2000/09/24

© J.A.N. Lee, 2000.