# NOT RUN {
divisor(x = c(0.03,0.75,0.3,2,100, 0.03, 100, 0), speak = FALSE)
divisor(x = c(0.02,0.75,0.3,2,100.000002, 0.03, 100, 0), speak = FALSE)
divisor(x = c(0.02,0.75,0.3,2,100.000002, 0.03, 100, 0) * 10^-10,
speak = FALSE)
a <- c(0.02,0.75,0.3,2,100.000000002, 0.03, 100, 0)
divisor(x = a)
is.divisor(x = a, y = c(1, 0.01, 2*10^-9))
divisor(x = a, tolerance = 7, speak = FALSE)
divisor(x = a, relative = FALSE, speak = FALSE)
# }
Run the code above in your browser using DataLab