aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-28 16:35:38 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-28 16:35:38 -0400
commit417c7ef9b7022c7cbca1ebda7f2d00436cc1ac51 (patch)
tree37e136a8d98f79d2c2598dec6d8aca6aac4caeb0 /src
parente8ad8ab6d648fc654c33d6b7364a74ad7ee94d33 (diff)
Fix missing error with final ¯
Diffstat (limited to 'src')
-rw-r--r--src/c.bqn2
1 files changed, 1 insertions, 1 deletions
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