Skip to content

Commit

Permalink
Corrected typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimaore committed Nov 30, 2013
1 parent be2ce6f commit d823932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/mathops/doc/mathops_admin.xml
Expand Up @@ -185,7 +185,7 @@ if (math_rpn("1 $avp(1) swap swap dup drop / exp ln 1 swap /", "$avp(result)"))

/* This example RPN script will push 1 then 3 onto the stack, then do a couple no-ops
(exchange the two values twice, duplicate one of them then drop the duplicate),
compute the division of 1 by 3, then do another no-op (expnentiation then logarithm), and
compute the division of 1 by 3, then do another no-op (exponentiation then logarithm), and
finally compute 1 divided by the result, giving 3 as the result. */
</programlisting>
</example>
Expand Down
2 changes: 1 addition & 1 deletion modules/mathops/math_funcs.c
Expand Up @@ -292,7 +292,7 @@ const struct mathop_entry word_to_mathop[] = {
{s:{ len:9, s:"nearbyint" }, op:MATHOP_NEARBYINT},
{s:{ len:5, s:"trunc" }, op:MATHOP_TRUNC},
{s:{ len:1, s:"e" }, op:MATHOP_E},
{s:{ len:1, s:"pi" }, op:MATHOP_PI},
{s:{ len:2, s:"pi" }, op:MATHOP_PI},
{s:{ len:0, s:NULL}, op:-1}
};

Expand Down

0 comments on commit d823932

Please sign in to comment.