1
0
mirror of https://github.com/janet-lang/janet synced 2025-09-07 13:28:03 +00:00

Add hexfloats - Address #1550

This commit is contained in:
Calvin Rose
2025-01-30 07:36:18 -06:00
parent fa75a395cb
commit f63a33884f
2 changed files with 13 additions and 2 deletions

View File

@@ -208,5 +208,8 @@
(parser/consume p `")`)
(assert (= (parser/produce p) ["hello"]))
# Hex floats
(assert (= math/pi +0x1.921fb54442d18p+0001))
(end-suite)