summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2013-03-15 19:22:18 +0100
committerAndy Wingo <wingo@pobox.com>2013-03-15 19:22:18 +0100
commit912f5f34458fd6998b129e65685adbaf44356860 (patch)
tree372888a83d98040dc9c0a27c2f4655fb6949472f
parentde2811cc41e86f8f558cfe99172a1987cbcad47a (diff)
downloadguile-912f5f34458fd6998b129e65685adbaf44356860.tar.gz
fix doc build
* doc/ref/api-data.texi (Bitwise Operations): Don't use @-commands in @math. Fixes doc build. * doc/ref/api-macros.texi (Syntax Rules): Fix example result.
-rw-r--r--doc/ref/api-data.texi4
-rw-r--r--doc/ref/api-macros.texi2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index 81c6d5b70..17baed27d 100644
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -1688,7 +1688,7 @@ starts from 0 for the least significant bit.
@deffn {Scheme Procedure} ash n count
@deffnx {C Function} scm_ash (n, count)
-Return @math{floor(@var{n} * 2^@var{count})}.
+Return @math{floor(n * 2^count)}.
@var{n} and @var{count} must be exact integers.
With @var{n} viewed as an infinite-precision twos-complement
@@ -1707,7 +1707,7 @@ when @var{count} is negative. This is an ``arithmetic'' shift.
@deffn {Scheme Procedure} round-ash n count
@deffnx {C Function} scm_round_ash (n, count)
-Return @math{round(@var{n} * 2^@var{count})}.
+Return @math{round(n * 2^count)}.
@var{n} and @var{count} must be exact integers.
With @var{n} viewed as an infinite-precision twos-complement
diff --git a/doc/ref/api-macros.texi b/doc/ref/api-macros.texi
index dcbde9b30..ea4e8d68a 100644
--- a/doc/ref/api-macros.texi
+++ b/doc/ref/api-macros.texi
@@ -215,7 +215,7 @@ including ellipsizing and tail patterns.
((_ #((var val) ...) exp exp* ...)
(let ((var val) ...) exp exp* ...))))
(letv #((foo 'bar)) foo)
-@result{} foo
+@result{} bar
@end example
Literals are used to match specific datums in an expression, like the use of