single line functions not permitted in some versions of bc

Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>