mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > enzocreti

Reply
 
Thread Tools
Old 2020-07-05, 08:40   #23
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

101000000100012 Posts
Default

Quote:
Originally Posted by kriesel View Post
His programmer wife could have asked, why he came home one loaf short.
Buy a loaf (1), + if (they have any eggs) get 12 (loaves). 1+12=13.
To which he would reply "you used the AND operator, not PLUS.
xilman is offline   Reply With Quote
Old 2020-07-15, 17:23   #24
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

874210 Posts
Default

Quote:
Originally Posted by xilman View Post
To which he would reply "you used the AND operator, not PLUS.
To which he should come with no loafs (1 and 12 = 0)
LaurV is offline   Reply With Quote
Old 2020-07-15, 19:20   #25
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3×13×263 Posts
Default

Quote:
Originally Posted by LaurV View Post
To which he should come with no loafs (1 and 12 = 0)
logical AND , not bitwise AND
xilman is offline   Reply With Quote
Old 2020-07-15, 20:09   #26
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

1001100112 Posts
Default

So 1 AND 12 = true?
kruoli is offline   Reply With Quote
Old 2020-07-16, 06:30   #27
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3·13·263 Posts
Default

Quote:
Originally Posted by kruoli View Post
So 1 AND 12 = true?
In Perl:

&buy ($have_eggs ? 12 : 1, $loaf)
xilman is offline   Reply With Quote
Old 2020-07-16, 06:51   #28
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

2×19×151 Posts
Default

Quote:
Originally Posted by xilman View Post
Quote:
Originally Posted by kruoli View Post
So 1 AND 12 = true?
In Perl:

&buy ($have_eggs ? 12 : 1, $loaf)
Where is the AND?
retina is offline   Reply With Quote
Old 2020-07-18, 08:54   #29
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

2×3×31×47 Posts
Default

Quote:
Originally Posted by xilman View Post
logical AND , not bitwise AND
Every one with his domain, I work very close to metal
LaurV is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Smallest 10^179+c Brilliant Number (p90 * p90) 2147483647 Factoring 29 2020-09-25 03:28
Could a Distributed Computing approach help find the smallest Brier number? jasong Math 5 2007-05-29 13:30
smallest number used in a mathematical proof? ixfd64 Lounge 22 2006-02-01 17:06
Can you find the smallest number? Fusion_power Puzzles 8 2003-11-18 19:36
Smallest untested number? wirthi Math 10 2003-10-05 13:02

All times are UTC. The time now is 20:48.

Sun Sep 27 20:48:59 UTC 2020 up 17 days, 17:59, 0 users, load averages: 1.80, 1.72, 1.69

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.