Skip to content

Instantly share code, notes, and snippets.

@maxsimych
Created September 17, 2024 10:39
Show Gist options
  • Select an option

  • Save maxsimych/2167cd1f90f7dfc1ce939a11cc6cf1b7 to your computer and use it in GitHub Desktop.

Select an option

Save maxsimych/2167cd1f90f7dfc1ce939a11cc6cf1b7 to your computer and use it in GitHub Desktop.

Revisions

  1. maxsimych revised this gist Sep 17, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    const convertToSigned = num => num << 24 >> 24;
    const convertToSigned = num => num << 24 >> 24
  2. maxsimych created this gist Sep 17, 2024.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    const convertToSigned = num => num << 24 >> 24;