Bugs and idiosyncrasies:
if(expression){statement1}\ else{ statement2}Alternatively, as pointed out by Anton Stiglic, use the construction
if(expression){ statement1 }else{ statement2 }
bc bigu stoltvialmm squareroot
produced an error message:
squareroot 667: Assignment of a void expression
However on changing the order of files to
bc squareroot bigu stoltvialmm
there was no problem! This phenomenon is not present in bc 1.07.1.
Also see Pádraig Brady's example.
http://www.numbertheory.org/keith.html
Last modified February 3, 2020