[Toybox] why isn't bc_lib a string?

Rob Landley rob at landley.net
Fri Feb 1 13:57:20 PST 2019


On 2/1/19 3:26 PM, enh via Toybox wrote:
> the current bc_lib[] seems like an oddly unreadable/undebuggable way to write
> 
> scale=20
> define e(x){
> auto b,s,n,r,d,i,p,f,v
> b=ibase
> ibase=A
> if(x<0){
> n=1
> x=-x
> }
> s=scale
> r=6+s+.44*x

Yeah, I converted it locally to a text file as part of my very first cleanup
pass, and I intend to fix that at some point.

There's a bunch of low-hanging fruit here, but I'm trying to get a release out
this weekend...

Rob



More information about the Toybox mailing list