Re:Super-Strong Graphene Has an Achilles' Heel
by ewillbefull on Wednesday April 30, 2014 @01:05AM
(#7671713)
Can GNU units or anything like it accept a string such as "100F to C" and understand what I'd like? If so I'd love to use that instead.
[ Parent
| on HN ]
Re:Super-Strong Graphene Has an Achilles' Heel
by dfc on Wednesday April 30, 2014 @01:39AM
(#7671794)
Temperature conversions are a little goofy because they are nonlinear. Google's 100F to C is:
dfc@ronin:~$ units
2866 units, 109 prefixes, 79 nonlinear units
You have: tempF(100)
You want: tempC
37.777778
The full explanation is here: https://www.gnu.org/software/units/manual/units.html#Tempera...
Re:Super-Strong Graphene Has an Achilles' Heel
by Tloewald on Wednesday April 30, 2014 @07:30AM
(#7672627)
I followed the like because I thought maybe i've been doimg temperature conversioms wrong all my life. Temperature conversions are so linear. They need to use a more correct term — e.g. simply proportional.
Having to add or substract a constant before or after scaling does not make a relationship non-linear.