6 lines
152 B
R
Raw Normal View History

2025-01-12 00:52:51 +08:00
dyn.load("piWithInterrupts.so")
#res <- .Call("PiLeibniz", n=1e9, frequency=1e6)
res <- .Call("PiLeibniz", n=1e9, frequency=1e6)
print(res, digits=10)