Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document ops.markdown cleanup; ambigious two/to
Fixes statements that could be interpreted multiple ways. i.e.: 

Return non-zero if $l is greater than or equal two $r. ('two' should be 'to' for equals-to, not 2 for 2*$r)
Return non-zero if $l is greater than two $r. ('two' left in from c&p?)
  • Loading branch information
ugexe committed Nov 13, 2014
1 parent 09cee28 commit 005b2f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/ops.markdown
Expand Up @@ -108,7 +108,7 @@ Return the modulus of $l by $r.
* `mul_n(num $l, num $r)`
* `mul_I(Int $l, Int $r, Mu:T $type)`

Multiple two numbers, returning the result.
Multiply two numbers, returning the result.
`_I` variant returns an object of the given type.

## neg
Expand Down Expand Up @@ -142,7 +142,7 @@ Return the ceiling of a number.
## exp
* `exp_n(num $exponent)`

Return the value of `e` raised to $exponent;
Return the value of `e` raised to $exponent.

## floor
* `floor_n(num $n)`
Expand Down Expand Up @@ -274,31 +274,31 @@ Return non-zero if the two parameters are equal.
* `isgt_s(str $l, str $r)`
* `isgt_I(Int $l, Int $r)`

Return non-zero if $l is greater than two $r.
Return non-zero if $l is greater than $r.

## isge
* `isge_i(int $l, int $r)`
* `isge_n(num $l, num $r)`
* `isge_s(str $l, str $r)`
* `isge_I(Int $l, Int $r)`

Return non-zero if $l is greater than or equal two $r.
Return non-zero if $l is greater than or equal to $r.

## islt
* `islt_i(int $l, int $r)`
* `islt_n(num $l, num $r)`
* `islt_s(str $l, str $r)`
* `islt_I(Int $l, Int $r)`

Return non-zero if $l is less than two $r.
Return non-zero if $l is less than $r.

## isle
* `isle_i(int $l, int $r)`
* `isle_n(num $l, num $r)`
* `isle_s(str $l, str $r)`
* `isle_I(Int $l, Int $r)`

Return non-zero if $l is less than or equal two $r.
Return non-zero if $l is less than or equal to $r.

## isne
* `isne_i(int $l, int $r)`
Expand Down

0 comments on commit 005b2f3

Please sign in to comment.