Wrong way round. "Never trust a computer you can lift."r3d4 wrote:"Never trust a computer you can’t throw out a window. "
the one that I heard was: "Never eat anything bigger than your own head, unless it's Ice-cream."paulie wrote:Is it "Never lift more than you can eat",
Or " Never eat more than you can lift"?
They knew that they were giving themselves work for as long as they wanted it.Burngate wrote:Candy floss?
A.k.a. fairy floss, cotton candy
Machines invented in 1897 and 1921, both by dentists.
Being 99% pure sugar A.k.A. tooth-rot, you'd think they'd have known better.
These were all hand written logs though, so it's more a case of someone really understanding the functional meaning of zero.rurwin wrote:Several, if not most of the ways to represent signed numbers result in having a representation for negative zero.David613 wrote:This may be more depressing than funny but I've found log entries at work that include -0 (negative zero, not indicating subtraction) and -2-1=1. It has given one of my co-workers and I some amusement deciding whether zero is positive or negative.
one's-complement is just an inversion of all the bits. So 11111=-0 and 000000=+0. Two's complement (invert the bits and add 1) has replaced one's-complement in most places, certainly where arithmetic is involved because there is more fiddling to do to get it to come out right.
Floating point numbers use sign-and-magnitude where a bit indicates if the number is positive or negative and the rest just gives the number. So if the sign bit is 1 the number is negative, even if its magnitude is 000000.
In both cases usually hardware will "normalise" the number before you have to deal with it, and that includes converting -0 to +0.
And in any case, a test for -0==+0 will always return true... unless you are comparing the bit pattern of course... So you need two comparison instructions, which is another reason those forms are rarely used.
Free interesting fact: In two's complement, you can imagine the most significant bit is negative and the others are positive. So for example with a four-bit word, bit 0 represents +1, Bit 1 is +2, Bit 2 is +4, but bit 3 is -8. So 1111 is 1+2+4-8 = -1. Whereas 1000 is just -8 and 0111 only adds up to 7, which explains why it's always asymmetric; with 16 bits the range is -32768 to +32767 and so on. And of course that extra negative number is where the space for -0 went to. One's complement is symmetric but has two zeros.
Hahahaha, or even say its your turn tomorrow morning to do the clothes and dishes.jardino wrote:Or, in a similar situation, the excited husband says to the wife - "Go on - moan in my ear".
She says, "You bought that paint for the kitchen months ago and haven't lifted a finger to paint the kitchen!"
Users browsing this forum: No registered users and 6 guests