Hacker News new | past | comments | ask | show | jobs | submit login

    c = k + 273
    x * c = x * k + x * 273
This leaves multiplied celsius off by a delta of (x - 1) * 273.



That's showing multiplied Celsius in terms of Kelvin, no?

  1 Celsius = 274.15 Kelvin
  10 Celsius = 283.15 Kelvin
Obviously 283.15 K != 10 * 274.15 K.

But that's not what's being said, per my lower comment -- it's 10x the difference relative to the freezing point of water, compared to 1°C.

The original upthread comments I were taking issue with were saying that multiplication has no meaning / is invalid in Celsius.

It does have a meaning, and it's mathematically consistent.

It may not mean what's being assumed, but nuance doesn't mandate "thou shalt never," IMHO.


When I say multiply by n, what I'm really doing is applying a delta of (n - 1) times my distance to the origin.

The origin with celsius isn't at zero, so you're prevented from doing what you were pretending was multiplication (at least in the most natural way of doing it).

Obviously you can negate your offset, multiply and reapply your delta.

It's a bit damned awkward though.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: