Recent content by Puzzle
-
P
Simulating bitwise AND operator
Thats a good way yes, but sadly seems that my "black box" is operating using high precision floating point values :( I think I could still implement what I need if one last obstacle could be overcome: How to do modulo operation (reminder of division) with toolset that I mentioned?- Puzzle
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
P
Simulating bitwise AND operator
Hello, I have a problem where I must get value of a given binary bit in decimal number: f(decimal_number, bit_position) = bit_value For example, getting bit values in decimal 14 (binary 1110): f(14, 0) = 0 f(14, 1) = 1 f(14, 2) = 1 f(14, 3) = 1 In general it's easy: (14 &...- Puzzle
- Thread
- Operator
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help