Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Augiedog

(2,548 posts)
Thu Jan 20, 2022, 09:22 AM Jan 2022

Just a note to Apple Geniuses, there is no such number as "-0". Just saying.

My watch, Apple Watch, this morning displayed -0 as a temperature. In no form of math is -0 a number, real or otherwise.

Obviously this is an incredibly important issue so I expect intense reaction and debate. Please be courteous as I am very sensitive and easily offended…kinda like contemporary republicans and your average next door neo nazi, and proud boy(s). Uncapitalized intentionally.

Note: I would have included a photo of my watch making the offending offering of -0 but I can’t figure out how to include the pic from my photos. Maybe more coffee is required, or less.

27 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Just a note to Apple Geniuses, there is no such number as "-0". Just saying. (Original Post) Augiedog Jan 2022 OP
I Blame Science Beetwasher. Jan 2022 #1
Fauci is the Antichrist. Haggard Celine Jan 2022 #3
That's called a signed zero and if the actual temperature is -.4, the app rounds it but keeps the WhiskeyGrinder Jan 2022 #2
I learned something (early) today -(nt)- stopdiggin Jan 2022 #4
-0 can be represented in sign-magnitude, one's complement and signed decimal notations Klaralven Jan 2022 #5
Blasphemer! n/t targetpractice Jan 2022 #6
I call it zero, my wife calls it oh, who is right? Emile Jan 2022 #7
It's "negative naught" lagomorph777 Jan 2022 #21
Outrageous! This is a slippery slope, leading to the end of math as we know it. Beastly Boy Jan 2022 #8
This could truly be the first sine of insanity..... lastlib Jan 2022 #10
Yeah, we might end up on a tangent /nt localroger Jan 2022 #16
Come on, you're being hyperbolic. lagomorph777 Jan 2022 #22
It's our function. lastlib Jan 2022 #25
This is very complex! Lucky Luciano Jan 2022 #26
I had a discusssion about this with a friend and some fine Porter.. mitch96 Jan 2022 #9
In my book genxlib Jan 2022 #11
You've heard of "imaginary numbers"? Miguelito Loveless Jan 2022 #12
yes there is dsc Jan 2022 #13
And the square root of - 0 is swimming around with cube root. TreasonousBastard Jan 2022 #14
My digital weather station shows tenths of degrees. MineralMan Jan 2022 #15
My weather station does that when rounding. NutmegYankee Jan 2022 #17
There are also plus tenths of a degree. MineralMan Jan 2022 #20
Minus zero is a possible value in all common floating point representations localroger Jan 2022 #18
Correct! Saved me the typing! Lucky Luciano Jan 2022 #19
Back in the olden days Retrograde Jan 2022 #23
sign-magnitude and one's complement localroger Jan 2022 #24
Why is this in this forum??? themaguffin Jan 2022 #27

Beastly Boy

(9,382 posts)
8. Outrageous! This is a slippery slope, leading to the end of math as we know it.
Thu Jan 20, 2022, 10:07 AM
Jan 2022

What's next, representing Pi with only four digits after the decimal point and ignoring the rest? Imagine what it will do to humanity's conception of infinity, with all its devastating implications on philosophy and religion, among a multitude of other fundamental disciplines.

mitch96

(13,919 posts)
9. I had a discusssion about this with a friend and some fine Porter..
Thu Jan 20, 2022, 10:09 AM
Jan 2022

His rational is that "0", zero is a place holder. There for it is a negative space....
I disagreed but he was happy YMMV

m

MineralMan

(146,320 posts)
15. My digital weather station shows tenths of degrees.
Thu Jan 20, 2022, 10:36 AM
Jan 2022

So, 0 degrees is normally signed + or -, depending on the tenths value. I can't remember what it shows if it is exactly 0 degrees. I may never have seen that, actually.

The Apple Watch knows what the tenths value is, but doesn't display it. So, it assigns the correct sign, instead, I suppose.

Today, at 7 AM, the outside temperature was -14.3 degrees Fahrenheit. It might reach 2 degrees later today. It is damned cold out there. What I say when the temperature is 0 degrees is that there is no temperature.

NutmegYankee

(16,201 posts)
17. My weather station does that when rounding.
Thu Jan 20, 2022, 10:39 AM
Jan 2022

The detail view shows -0.2°, but the basic display will show -0.

MineralMan

(146,320 posts)
20. There are also plus tenths of a degree.
Thu Jan 20, 2022, 10:53 AM
Jan 2022

So, -0.5 degrees and +0.5 degrees are both valid temperature measurements, with a difference of 1 degree between them.

The first is half a degree below 0 and the second is half a degree above zero.

It doesn't really matter of course. Both are damned cold and tenths of a degree are relatively useless as measurements, except on fever thermometers.

localroger

(3,629 posts)
18. Minus zero is a possible value in all common floating point representations
Thu Jan 20, 2022, 10:42 AM
Jan 2022

One usually rounds the minus away before displaying the result. There are other oddities to floating point, for example the fraction 1/10 is infinitely repeating in binary (as 1/3 is in decimal) so that if you don't round the result, 1 / 10 * 10 = 0.9999999... which was a result some early computers would return. These quirks are why some systems have a special representation for values of money so that accounts will add up correctly.

Retrograde

(10,138 posts)
23. Back in the olden days
Thu Jan 20, 2022, 11:21 AM
Jan 2022

before Microsoft killed OS research, when MS DOS was barely a glint in Bill Gates' eye, there was a computer company called Control Data Systems. Their instruction set had both a positive and a negative zero. I don't remember why.

But there is no excuse for Apple. And while you're at it, tell them there is no such thing as the Cupertino Time Zone: the normal people who live there call it Pacific Time.

localroger

(3,629 posts)
24. sign-magnitude and one's complement
Thu Jan 20, 2022, 12:11 PM
Jan 2022

Let's say we have a 4-bit register consisting of a sign bit and the bits for binary values 4, 2, and 1. +5 decimal would be 0101. But in sign-magnitude, the sign bit would flip to represent -5 as 1101. But math is complicated in sign-magnitude because a lot of operations are necessary to deal with opposing sign bits. So some companies used one's complement, where the sign bit would indicate that the other bits are all inverted, so -5 would be 1010. You still have to check for sign crossings, but you don't have to do an inversion when you find one. Both of these systems have minus zero as a possible value which must be detected in math.

Most modern CPU's use two's complement though, where the inverted bits are incremented. So in two's complement -5 would start by inverting 0101 to 1010, then add 1 to get 1011. We can show that this is minus five by incrementing it: -5=1011 < -4=1100 < -3=1101 < -2=1110 < -1=1111 < 0=0000. In this representation addition and subtraction are the same regardless of whether the most significant bit is a sign bit or not, and there is no minus zero.

Floating point math, used by nearly all modern computers for numbers that can contain fractions, is a variation on sign-magnitude which adds an exponent and sign bit to a positive integer mantissa. FP math is complicated anyway and has a number of other speed bumps; not every binary bit pattern is a valid FP number. But with modern computers being so fast it's very common to see it used even when it's not really necessary, as in temperature calculations.

Latest Discussions»General Discussion»Just a note to Apple Geni...