about summary refs log blame commit diff stats
path: root/html/f2c.mu
blob: e3aa8f6c3c81b7ec96bb33b25fa3b47d847dbac4 (plain) (tree)
1
2
3
4
5
6
7
8







                                                   
# c = (f-32) * 5/9
recipe fahrenheit-to-celsius f:number -> c:number [
  local-scope
  load-ingredients
  tmp:number <- subtract f, 32
  tmp <- multiply tmp, 5
  c <- divide tmp, 9
]