From 59522c40746a47da3efbdc7665d6b79fc7f2d4c9 Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:29:35 -0400 Subject: [PATCH] Document hexadecimal support --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1d5747d..cf345d6 100644 --- a/README.md +++ b/README.md @@ -256,9 +256,10 @@ TinyExpr parses the following grammar: In addition, whitespace between tokens is ignored. Valid variable names consist of a letter followed by any combination of: -letters, the digits *0* through *9*, and underscore. Constants can be integers, -decimal numbers, or in scientific notation (e.g. *1e3* for *1000*). A leading -zero is not required (e.g. *.5* for *0.5*) +letters, the digits *0* through *9*, and underscore. Constants can be integers +or floating-point numbers, and can be in decimal, hexadecimal (e.g., *0x57CEF7*), +or scientific notation (e.g., *1e3* for *1000*). +A leading zero is not required (e.g., *.5* for *0.5*). ## Functions supported