Skip to content

Commit

Permalink
set.seed()
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87138 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
maechler committed Sep 12, 2024
1 parent 454a723 commit 7b06fbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/simple-true.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ is.recursive(expression(1+3, 2/sqrt(pi)))# fix PR#9

## sum():
all(1:12 == cumsum(rep(1,12)))
set.seed(1998-09-11)
x <- rnorm(127); sx <- sum(x); abs((sum(rev(x)) -sx)) < 1e-12 * abs(sx)

## seq():
Expand Down

0 comments on commit 7b06fbe

Please sign in to comment.