Skip to content

Commit

Permalink
doc/ref/spec.md: fix uint16 and uint32 values range
Browse files Browse the repository at this point in the history
This fixes the values range present in spec for uint16 and uint32
predeclared identifiers.

Closes #2256 as merged as of commit 3c93e6e.

Signed-off-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
Change-Id: I64516443017eccdf7ad102f2100b1bf9e2e515a0
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/552139
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
  • Loading branch information
joanlopez authored and mvdan committed Apr 3, 2023
1 parent 2e28b01 commit c67fe60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/ref/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1813,10 +1813,10 @@ number int | float
uint >=0
uint8 >=0 & <=255
int8 >=-128 & <=127
uint16 >=0 & <=65536
uint16 >=0 & <=65535
int16 >=-32_768 & <=32_767
rune >=0 & <=0x10FFFF
uint32 >=0 & <=4_294_967_296
uint32 >=0 & <=4_294_967_295
int32 >=-2_147_483_648 & <=2_147_483_647
uint64 >=0 & <=18_446_744_073_709_551_615
int64 >=-9_223_372_036_854_775_808 & <=9_223_372_036_854_775_807
Expand Down

0 comments on commit c67fe60

Please sign in to comment.