View unanswered posts | View active topics It is currently Sat May 26, 2018 4:15 am ← Back to the Calcudoku puzzle page

 Page 1 of 1 [ 6 posts ]
 Print view Previous topic | Next topic
Question
Author Message

Posted on: Wed Nov 16, 2016 9:57 pm

Posts: 245
Joined: Sun May 22, 2016 2:17 pm
Question
Most people know that on this site there are some puzzles that contain the bitwise OR operator. Well, would it be possible to also include the bitwise AND operator? (Which outputs a 1 if both inputs are 1, but a 0 otherwise)

For example, 8 AND 5 would be 0 because
1000
0101
0000
but 7 AND 5 would be 5 because
111
101
101

(hopefully this makes sense )

Posted on: Thu Nov 17, 2016 12:28 am

Posts: 544
Joined: Fri May 13, 2011 1:37 am
Re: Question
This is beyond me.....I looked at your post and could not figure out about what you were talking

Posted on: Thu Nov 17, 2016 12:38 am

Posts: 119
Joined: Sun Nov 03, 2013 10:28 pm
Re: Question
I understand what you mean. Beaker, are you familiar with the bitwise OR operator? If not, you might want to read up a bit on Wikipedia: https://en.wikipedia.org/wiki/Bitwise_operation

Sounds like an interesting idea: I think such an operator will give enough information to be useful, yet is complex enough to make things difficult.

Posted on: Thu Nov 17, 2016 1:05 am

Posts: 544
Joined: Fri May 13, 2011 1:37 am
Re: Question
You can not teach an old dog new tricks and this is ONE OLD DOG!! .....when stuff like this comes up I feel like I am 72 going on 80!!!

Posted on: Thu Nov 17, 2016 8:28 am

Posts: 713
Joined: Fri May 13, 2011 6:51 pm
Re: Question
marblevolcano wrote:
Most people know that on this site there are some puzzles that contain the bitwise OR operator. Well, would it be possible to also include the bitwise AND operator? (Which outputs a 1 if both inputs are 1, but a 0 otherwise)

For example, 8 AND 5 would be 0 because
1000
0101
0000
but 7 AND 5 would be 5 because
111
101
101

(hopefully this makes sense )

It's a logical operator not more difficult than Bitwise OR.

Perhaps you may start with this puzzle (I had not big successs when I proposed that in 2011):

viewtopic.php?f=16&t=124&start=10

Posted on: Thu Nov 17, 2016 8:33 am

Posts: 2296
Joined: Thu May 12, 2011 11:58 pm
Re: Question
marblevolcano wrote:
Most people know that on this site there are some puzzles that contain the bitwise OR operator. Well, would it be possible to also include the bitwise AND operator? (Which outputs a 1 if both inputs are 1, but a 0 otherwise)

Because from a "coding perspective" such an operator is almost the same,
it wouldn't be difficult to create such puzzles.

(or puzzles with other logical operators, like XOR, NOR, ...)

Patrick

Display posts from previous:  Sort by
 Page 1 of 1 [ 6 posts ]

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forum

Search for:
 Jump to:  Select a forum ------------------ English    Announcements    Calcudoku General    Other number stuff    Solving strategies and tips    Specific puzzles / your own puzzles    Timed Puzzles    Bugs and errors    Killer Sudoku    Sudoku Nederlands    Aankondigingen    Calcudoku Algemeen    Oplostips en strategieën Italiano    Calcudoku Generale    Strategie e consigli per risolvere Español    Avisos    Calcudoku - General    Estrategias de solución y aspectos relevantes
All forum contents © Patrick Min, and by the post authors.

Forum software phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.