Skip to content

Commit 5c3dd60

Browse files
authored
Merge pull request #109 from Blake-Madden/master
Document hexadecimal support
2 parents 74804b8 + 59522c4 commit 5c3dd60

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,10 @@ TinyExpr parses the following grammar:
256256
In addition, whitespace between tokens is ignored.
257257

258258
Valid variable names consist of a letter followed by any combination of:
259-
letters, the digits *0* through *9*, and underscore. Constants can be integers,
260-
decimal numbers, or in scientific notation (e.g. *1e3* for *1000*). A leading
261-
zero is not required (e.g. *.5* for *0.5*)
259+
letters, the digits *0* through *9*, and underscore. Constants can be integers
260+
or floating-point numbers, and can be in decimal, hexadecimal (e.g., *0x57CEF7*),
261+
or scientific notation (e.g., *1e3* for *1000*).
262+
A leading zero is not required (e.g., *.5* for *0.5*).
262263

263264

264265
## Functions supported

0 commit comments

Comments
 (0)