Skip to main content
added 32 characters in body
Source Link
nwellnhof
  • 10.6k
  • 1
  • 20
  • 38

Perl 5 -p, 3131 27 bytes

-4 bytes thanks to Grimy

$a^=pack'f'$\=unpack f,$a^=pack f,$_}{$\=unpack'f',$a 

Try it online!Try it online!

Perl 5 -p, 31 bytes

$a^=pack'f',$_}{$\=unpack'f',$a 

Try it online!

Perl 5 -p, 31 27 bytes

-4 bytes thanks to Grimy

$\=unpack f,$a^=pack f,$_}{ 

Try it online!

Source Link
nwellnhof
  • 10.6k
  • 1
  • 20
  • 38

Perl 5 -p, 31 bytes

$a^=pack'f',$_}{$\=unpack'f',$a 

Try it online!