Skip to content

Commit

Permalink
Clarify zero-denominator. Thanks to @VasiliosRallis. See #55
Browse files Browse the repository at this point in the history
  • Loading branch information
m8pple authored Jan 19, 2018
1 parent 7c6c01c commit 5ed0792
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 1-regexes/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ For our purposes we'll define words and numbers as:
of decimal digits, a `/` sign, and another sequence of decimal
digits. It should be interpreted by converting the two digits sequences
as decimal integers, then taking the ratio using double-precision.

- Fractions with [zero denominators](https://github.com/LangProc/langproc-2017-lab/issues/55)
are illegal, so implementations can handle them however is convenient,
and they will not appear in any test inputs (thanks to @VasiliosRallis).

- If a sequence of characters could be interpreted as an decimal
or a fraction, then fraction should have precedence.
Expand Down

0 comments on commit 5ed0792

Please sign in to comment.