mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:17:14 +00:00
TBR: Typos fixed
Change-Id: I8c48953541a36f516d7a9bd27de85193bf189930 Reviewed-on: https://dart-review.googlesource.com/57825 Reviewed-by: Erik Ernst <eernst@google.com>
This commit is contained in:
parent
545ad130a2
commit
6f68bec1bc
|
@ -3293,7 +3293,7 @@ A {\em numeric literal} is either a decimal or hexadecimal numeral representing
|
|||
{`\escapegrammar .}' DIGIT+ EXPONENT?
|
||||
.
|
||||
|
||||
{\bf EXPONENT:}(`e' $|$ `E') (`+' $|$ `-'')? DIGIT+
|
||||
{\bf EXPONENT:}(`e' $|$ `E') (`+' $|$ `-')? DIGIT+
|
||||
.
|
||||
|
||||
{\bf HEX\_NUMBER:}`0x' HEX\_DIGIT+;
|
||||
|
@ -3330,8 +3330,8 @@ A hexadecimal integer literal with numeric value $i$ is a compile-time
|
|||
error if $i \ge{} 2^{64}$, unless it is prefixed by a unary minus operator,
|
||||
in which case it is a compile-time error if $i \gt{} 2^{63}$.
|
||||
If the \code{int} class is implemented as signed 64-bit two's complement integers,
|
||||
$i \ge{} 2^63$, and the literal is not prefixed by a unary minus operator, then
|
||||
the literal evaluates to an instance of the \code{int} class representing the integer value $i - 2^64$.
|
||||
$i \ge{} 2^{63}$, and the literal is not prefixed by a unary minus operator, then
|
||||
the literal evaluates to an instance of the \code{int} class representing the integer value $i - 2^{64}$.
|
||||
Otherwise the literal evaluates to an instance of the \code{int} class representing
|
||||
the integer value $i$,
|
||||
and it is a compile-time error if the integer $i$ cannot be represented exactly
|
||||
|
|
Loading…
Reference in a new issue