[PATCH] bc Version 1.1

Denys Vlasenko vda.linux at googlemail.com
Tue Dec 4 20:33:41 UTC 2018


On Sat, Nov 3, 2018 at 6:17 PM Gavin Howard <gavin.d.howard at gmail.com> wrote:
>
> Hello,
>
> After making changes to the bc for Denys' requests, I have a better
> version of the bc.
>
> This version, pasted at https://pastebin.com/0M9sMhtM and raw at
> https://pastebin.com/raw/0M9sMhtM, has fulfilled every one of Denys'
> requests except for a few.


+    s = BC_STATUS_PARSE_BAD_EXP;
+    if (prev == BC_INST_BOOL_NOT || nexprs != 1) return s;
+
+    for (i = 0; s && i < next.len; ++i) s *= t != next.tokens[i];
+    if (s) return s;

This is not readable


More information about the busybox mailing list