Created
September 9, 2021 19:19
-
-
Save brimonk/5b9a08077b31edcfdf6ca3f9224ac81a to your computer and use it in GitHub Desktop.
Basically a small `dc` script that computes the distance between two points.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
dc -e "? ? - 2 ^ ? ? - 2 ^ + v p" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment