Skip to content

jfsimon1981/boolean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

boolean

Simple boolean operations

Boolean operators

0x5e & 0x3c == 0x1c
0x5e | 0x3c == 0x7e
0x5e ^ 0x3c == 0x62

&= logical AND with assignment
|= logical OR with assignment
|= logical XOR with assignment

     Bits     Hex      Dec      Oct
x 0101 1110  (0x5e)   (0d94)  (0o136)
y 0011 1100  (0x3c)   (0d60)   (0o74)
& 0001 1100  (0x1c)   (0d28)   (0o34)
| 0111 1110  (0x7e)  (0d126)  (0o176)
^ 0110 0010  (0x62)   (0d98)  (0o142)

About

Simple boolean operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors