Skip to main content
added 30 characters in body
Source Link

Orst, 9 bytes

31FᎽGć2Š

Try it online!

As bytes, this is

F3 F1 1B FF 30 1C 64 F2 42

Or, encoded as UTF-8,

óñÿ0dòB
óñÿ0dòB

which can be run by omitting the -u flag (filled by default on TIO). Note the not shown 0x1b and 0x1c bytes

How it works

31FᎽGć2Š - Full program. n is pushed to the stack
31       - Push 31
  F      - Subtract; n-31
   Ꮍ     - Push 16
    G    - Divide; (n-31)÷16
     ć   - Exp; exp((n-31)÷16)
      2Š - Round to 2 decimal places

Orst, 9 bytes

31FᎽGć2Š

Try it online!

As bytes, this is

F3 F1 1B FF 30 1C 64 F2 42

Or, encoded as UTF-8,

óñÿ0dòB

which can be run by omitting the -u flag (filled by default on TIO). Note the not shown 0x1b and 0x1c bytes

How it works

31FᎽGć2Š - Full program. n is pushed to the stack
31       - Push 31
  F      - Subtract; n-31
   Ꮍ     - Push 16
    G    - Divide; (n-31)÷16
     ć   - Exp; exp((n-31)÷16)
      2Š - Round to 2 decimal places

Orst, 9 bytes

31FᎽGć2Š

Try it online!

As bytes, this is

F3 F1 1B FF 30 1C 64 F2 42

Or, encoded as UTF-8,

óñÿ0dòB

which can be run by omitting the -u flag (filled by default on TIO). Note the not shown 0x1b and 0x1c bytes

How it works

31FᎽGć2Š - Full program. n is pushed to the stack
31       - Push 31
  F      - Subtract; n-31
   Ꮍ     - Push 16
    G    - Divide; (n-31)÷16
     ć   - Exp; exp((n-31)÷16)
      2Š - Round to 2 decimal places
Source Link

Orst, 9 bytes

31FᎽGć2Š

Try it online!

As bytes, this is

F3 F1 1B FF 30 1C 64 F2 42

Or, encoded as UTF-8,

óñÿ0dòB

which can be run by omitting the -u flag (filled by default on TIO). Note the not shown 0x1b and 0x1c bytes

How it works

31FᎽGć2Š - Full program. n is pushed to the stack
31       - Push 31
  F      - Subtract; n-31
   Ꮍ     - Push 16
    G    - Divide; (n-31)÷16
     ć   - Exp; exp((n-31)÷16)
      2Š - Round to 2 decimal places