Skip to content

Commit

Permalink
[RFC] Incorporate suggestions from Eric M.
Browse files Browse the repository at this point in the history
  • Loading branch information
acoglio committed Jun 29, 2021
1 parent ffd2a81 commit 3413f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rfc/004-integer-type-casts.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ and merely change the type of the Leo value,
but not its mathematical integer value.
This is always the case when the cast is to a type
with the same signedness and with the same or larger size.
This is sometimes the case when
This is also the case when
the cast is to a type whose range does not cover the range of the source type
but the value in question is in the intersection of the two ranges.

Expand Down Expand Up @@ -180,7 +180,7 @@ typically do not check for overflow in integer operations either
(at least, not for production code).
Presumably, the behavior of type casts in those programming languages
is motivated by efficiency of execution, at least in part.
Since in Leo the input data is avaialable at compile time,
Since in Leo the input data is available at compile time,
considerations that apply to typical programming languages
do not necessarily apply to Leo.

Expand Down

0 comments on commit 3413f60

Please sign in to comment.