Skip to main content
deleted 16 characters in body
Source Link
rydwolf
  • 18.9k
  • 2
  • 83
  • 172

RiskyRisky, 14 bytes

__-+_-2{[?+_0:__0+_0+__?+_0

Try it online!Try it online!

Explanation:

  • __-+_-: -2, written as -1 + -1 with padding
  • 2: Power
  • {[?+_0: log_2(abs(input)), with +_0 as padding
  • :: Equals
  • __0+_0+__?+_0: Input (?), with padding

So basically, -2 ** log_2(abs(input)) == input

Risky, 14 bytes

__-+_-2{[?+_0:__0+_0+__?+_0

Try it online!

Explanation:

  • __-+_-: -2, written as -1 + -1 with padding
  • 2: Power
  • {[?+_0: log_2(abs(input)), with +_0 as padding
  • :: Equals
  • __0+_0+__?+_0: Input (?), with padding

So basically, -2 ** log_2(abs(input)) == input

Risky, 14 bytes

__-+_-2{[?+_0:__0+_0+__?+_0

Try it online!

Explanation:

  • __-+_-: -2, written as -1 + -1 with padding
  • 2: Power
  • {[?+_0: log_2(abs(input)), with +_0 as padding
  • :: Equals
  • __0+_0+__?+_0: Input (?), with padding

So basically, -2 ** log_2(abs(input)) == input

added 258 characters in body
Source Link

Risky, 14 bytes

__-+_-2{[?+_0:__0+_0+__?+_0

Try it online!

Explanation:

  • __-+_-: -2, written as -1 + -1 with padding
  • 2: Power
  • {[?+_0: log_2(abs(input)), with +_0 as padding
  • :: Equals
  • __0+_0+__?+_0: Input (?), with padding

So basically, -2 ** log_2(abs(input)) == input

Risky, 14 bytes

__-+_-2{[?+_0:__0+_0+__?+_0

Try it online!

Risky, 14 bytes

__-+_-2{[?+_0:__0+_0+__?+_0

Try it online!

Explanation:

  • __-+_-: -2, written as -1 + -1 with padding
  • 2: Power
  • {[?+_0: log_2(abs(input)), with +_0 as padding
  • :: Equals
  • __0+_0+__?+_0: Input (?), with padding

So basically, -2 ** log_2(abs(input)) == input

Source Link

Risky, 14 bytes

__-+_-2{[?+_0:__0+_0+__?+_0

Try it online!