Skip to content

Instantly share code, notes, and snippets.

@peterdalle
Created August 24, 2017 15:32
Show Gist options
  • Save peterdalle/e69980884eada90132e1a3cf767a764b to your computer and use it in GitHub Desktop.
Save peterdalle/e69980884eada90132e1a3cf767a764b to your computer and use it in GitHub Desktop.
Calculate fraction and greatest common divisor
library(FRACTION)
fra(0.001, j = 20)
fra(0.5^10., j = 20)
gcd(14, 32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment