|
Hah! It was I, Sander Rossel, disguised as 0 all along! You're my servant now
Or was I 0 disguised as Sander...?
Anyway, don't divide by me just in case
|
|
|
|
|
You're obviously not pessimistic enough.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Problems with Zero - Numberphile - YouTube[^]
I can see why in .NET, 0 has no sign - it solves a lot of problems (and it is perfectly good for common arithmetic)
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
The sign of 0? I thought everyone knew that was positive because of twos complement math. Of course, with IEEE floating point, -0.0 is representable, but allowing it would be inconsistent, and very, very confusing.
We can program with only 1's, but if all you've got are zeros, you've got nothing.
|
|
|
|
|
patbob wrote: Of course, with IEEE floating point, -0.0 is representable, but allowing it would be inconsistent, and very, very confusing.
Actually, negative zero is essential for correct solution of certain problems involving branch cuts for complex elementary functions. See W. Kahan's Branch Cuts for Complex Elementary Functions, or Much Ado About Nothing's Sign Bit[^]. Note that a reference to the final article is given on Kahan's home page, but I don't have access to that publication.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Typically, one takes the ones compliment and then increment to find the inverse, so
that when the numbers added together is "0".
So the inverse of 0 is 0. This means that -0 == 0.
So, zero has the ability to have both signs.
|
|
|
|
|
Quite easy: lim(-1/x,x->INF) makes a negative 0. You have to understand that the limit 0 is an entirely different beast from the 0 you get in your wallet when you spend all your money.
-- modified 10-May-16 4:33am.
|
|
|
|
|
Damn you people. I started looking into this then I wrote the following:
if (-0 == +0)
{
Console.WriteLine(Math.Sign(0));
}
that was C#
it returned 0 as expected.
Now I am wondering if math is real.
|
|
|
|
|
If 0 represents the contents of my glass then zero is very definitely negative.
|
|
|
|
|
I find 0.0 to be negative when it involves the quantity of money in my control.
|
|
|
|
|
I find 0.0 to be negative when it involves the quantity of money in my control.
|
|
|
|
|
Should I still continue in this profession or just quit now?
|
|
|
|
|
I would try to find better cartoons first.
it ain’t broke, it doesn’t have enough features yet.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
I usually don't read programming themed cartoons, or cartoons at all, unless someone posts an "obligatory Dilbert."
Marc
|
|
|
|
|
|
With no bio, I can't be sure - but if it is assumed that you're new to this business, then as soon as you get some real experience (and possibly slit the throat of a user and/or manager or two) you'll understand.
If not, there's always a job selling artisinal ice cream treats to grouchy assholes. You need to worry about cartoons there, too. click[^]
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
For you, I updated my bio. There is a reason "anal" appears in "Artisanal". But I like ice cream, but at my age, you might not enjoy me eating ice cream.
|
|
|
|
|
W∴ Balboos wrote: as soon as you get some real experience (and possibly slit the throat of a user and/or manager or two) you'll understand.
Wait, what? This is an option that's available to us?
|
|
|
|
|
You're usually allowed only three per year.
In Canada, however, you're only aloud to shake your finger at them whilst speaking crossly.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
What if the customer isn't Canadian?
|
|
|
|
|
You misunderstood!
It doesn't matter if the customer is Canadian or not.
If the developer is Canadian he/she must remain polite at all times. Even the bit about speaking crossly to those who deserve to have their face microwaved took a special vote of parliament and their mother's permission.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Who do you prefer: Dilbert, D. Hilbert, or Dr. Hibbert?
|
|
|
|
|
|
Quitting isn't your only option, you know. Drinking heavily and often is another. Or, if you're in Wales, you could raise sheep for, erm... recreation.
Will Rogers never met me.
|
|
|
|
|
I've been to Wales. The one-and-a-half lane roads frightened me going around curves. Especially when I forgot to drive on the left side.
|
|
|
|