Skip to content

Instantly share code, notes, and snippets.

@mlaster
Created February 28, 2019 05:51
Show Gist options
  • Save mlaster/b66fc995e390e43c69fd3b653aa17ba7 to your computer and use it in GitHub Desktop.
Save mlaster/b66fc995e390e43c69fd3b653aa17ba7 to your computer and use it in GitHub Desktop.
let n = 1000.0
let a = (n/2500.0) - 1.0
let b = log10(a)
print(b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment