Anonymous user
Temperature conversion: Difference between revisions
m
→{{header|J}}: typo in note
m (→{{header|J}}: update examples) |
m (→{{header|J}}: typo in note) |
||
Line 125:
</lang>
'''Notes''': The approach is founded on polynomials, one for each conversion (e.g. <tt>Fahrenheit = 1.8*x - 459.67</tt> where <tt>x</tt> is measured in degrees Kelvin), and all polynomials are evaluated simultaneously using the built-in <tt>p.</tt>. Through some code decorations (specifically the <tt>/</tt> in <tt>p./</tt> the <tt>"0 1"_1</tt> and the <tt>0 _1 |:</tt>),
=={{header|Python}}==
|