News for hackers. Stuff that matters.
Re:Improving our safety with a physical quantities and units... by majorexception on Monday December 25, 2023 @04:36AM (#38761169)
I did that, but then adding 0_degC + 0_degC gave 273.15_degC. I think that would be surprising to many people. In reality I don't remember ever having to deal with physics formulas that used °C instead of Kelvins, so the only time I need to use °C is when presenting the temperature in the UI:

    temperature.in<si::Celsius>()
Re:Improving our safety with a physical quantities and units... by pests on Friday December 29, 2023 @04:54PM (#38810687)
Duh. I was thinking too much on the syntax side and not thinking about the physical world; which is ironic considering the discussion topic.