News for hackers. Stuff that matters.
Re:0 degrees celsius + 0 degrees celsius - by JangoSteve on Tuesday August 17, 2010 @02:30AM (#1610419)
Digging a little deeper...

  (0 degrees Celsius) + (0 degrees Celsius) - (0 degrees Celsius) = 0 degrees Celsius

  (0 degrees Celsius) - (0 degrees Celsius) = 0 kelvin

  (0 degrees Celsius) + (0 kelvin) = 0 degrees Celsius
The last 2 of the 3 are wrong, so I'd say this is definitley a bug.

EDIT: I think I figured it out. It's converting everything after the first temperature to Kelvin, without converting the first temp to Kelvin, and then just doing the arithmetic on the numbers...

  0C + 0C => 0C + 273K => 0 + 273 = 273

  0C + 0C - 0C => 0 + 273 - 273 = 0

  0C - 0C => 0 - 273 = -273 = 0K (ok, weird this one then converts back to K)

  0C + 0K => 0 + 0 = 0
EDIT 2: While this does match the results seen by google, I think _delirium's solution is more likely the reason.
Re:0 degrees celsius + 0 degrees celsius - by fleitz on Tuesday August 17, 2010 @02:52AM (#1610445)
0C - 0C => 0 - 273 = -273 = 0K (ok, weird this one then converts back to K)

Your math/logic is wrong, (A - A) => (B - A) you converted 0C to both 0 and 273.

Convert everything to Kelvin and it all makes sense. It's non-intuitive because 0C indicates a positive amount of energy rather than no energy as 0K does.

Re:0 degrees celsius + 0 degrees celsius - by JangoSteve on Tuesday August 17, 2010 @03:01AM (#1610462)
If you read my comment leading up to that, you'd see why I did it that way. But I agree with the other comment that it's more likely Google is just converting everything to Kelvin as it's canonical calculating form.
Re:0 degrees celsius + 0 degrees celsius - by JangoSteve on Tuesday August 17, 2010 @10:34AM (#1611223)
Yup you guys are right. This is what I get for trying to overanalyze a problem at 3am.
Re:0 degrees celsius + 0 degrees celsius - by iacvlvs on Tuesday August 17, 2010 @03:29AM (#1610508)
No.

It's converting EVERYTHING to K, then doing the arithmetic, then converting the result to C.

0C + 0C = 273K + 273K = 546K = 273C

0C + 0C - 0C = 273K + 273K - 273K = 273K = 0C

0C - 0C => 273K - 273K = 0K

0C + 0K = 273K + 0K = 273K = 0C