diff options
author | Andy Wingo <wingo@igalia.com> | 2013-03-15 19:22:18 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-03-15 19:22:18 +0100 |
commit | 912f5f34458fd6998b129e65685adbaf44356860 (patch) | |
tree | 372888a83d98040dc9c0a27c2f4655fb6949472f /doc/ref/api-data.texi | |
parent | de2811cc41e86f8f558cfe99172a1987cbcad47a (diff) | |
download | guile-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.
Diffstat (limited to 'doc/ref/api-data.texi')
-rw-r--r-- | doc/ref/api-data.texi | 4 |
1 files changed, 2 insertions, 2 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 |