Skip to content

Commit

Permalink
fixed docs for integer-sqrt, as reported on users
Browse files Browse the repository at this point in the history
  • Loading branch information
mfelleisen committed Sep 12, 2014
1 parent 73afc90 commit 11d811a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/htdp-pkgs/htdp-lib/lang/private/beginner-funs.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@
Computes the square root of a number.
@interaction[#:eval (bsl) (sqrt 9) (sqrt 2)]
}
@defproc[(integer-sqrt [x number]) integer]{
Computes the integer (exact or inexact) square root of a number.
@interaction[#:eval (bsl) (sqrt 11)]
@defproc[(integer-sqrt [x integer]) integer]{
Computes the integer (exact or inexact) square root of an integer.
@interaction[#:eval (bsl) (integer-sqrt 11)]
}
@defproc[(abs [x real]) real]{
Determines the absolute value of a real number.
Expand Down

0 comments on commit 11d811a

Please sign in to comment.