From 417c7ef9b7022c7cbca1ebda7f2d00436cc1ac51 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Mon, 28 Sep 2020 16:35:38 -0400 Subject: =?UTF-8?q?Fix=20missing=20error=20with=20final=20=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/c.bqn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c.bqn') diff --git a/src/c.bqn b/src/c.bqn index 12e0a568..91a10597 100644 --- a/src/c.bqn +++ b/src/c.bqn @@ -82,7 +82,7 @@ ReadNums←{ ErrNumericChars∘(/⟜𝕩)⍟(∨´) ¬e∨𝕩<⊑bA s←d∨c←e∨z←0=𝕩⋄m←¬n∨c "Negative sign in the middle of a number" ! ∧´n≤»c - "Portion of a number is empty" ! ¬∨´s∧»n∨s + "Portion of a number is empty" ! ¬∨´(1«s)∧n∨s "Ill-formed decimal or exponent use" ! ∧´(0⊸=∨»⊸<)s/𝕩 "π and ∞ must occur alone" ! ∧´(p∨i)≤1(»∧(p∧«e)∨«)z∨n f←(17≥¬(⊢-T)+`)⊸∧(«≤(d<𝕩≠⊑bD)>○I1T¬)⊸∧m # No leading 0s; max 17 digits -- cgit v1.2.3