Mercurial > hg > octave-lyh
diff scripts/general/rat.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | 51dc9691f23f |
children | 952d4df5b686 |
line wrap: on
line diff
--- a/scripts/general/rat.m +++ b/scripts/general/rat.m @@ -24,9 +24,11 @@ ## by @var{tol} using a continued fraction expansion. For example, ## ## @example +## @group ## rat(pi) = 3 + 1/(7 + 1/16) = 355/113 ## rat(e) = 3 + 1/(-4 + 1/(2 + 1/(5 + 1/(-2 + 1/(-7))))) ## = 1457/536 +## @end group ## @end example ## ## Called with two arguments returns the numerator and denominator separately