fork download
  1. #!/bin/bash
  2.  
  3. echo $(( -2**2 ))
  4. echo $(( -(2)**2 ))
  5. a=2
  6. echo $(( -$a**2 ))
Success #stdin #stdout 0s 5084KB
stdin
Standard input is empty
stdout
4
4
4