| Current Path : /usr/tests/usr.bin/gh-bc/tests/bc/scripts/ |
| Current File : //usr/tests/usr.bin/gh-bc/tests/bc/scripts/globals.bc |
#! /usr/bin/bc -gq
if (!global_stacks()) {
sqrt(-1)
}
define i(x) {
ibase=x
return ibase
}
define o(x) {
obase=x
return obase
}
define r(x) {
scale=x
return scale
}
i(11)
ibase
o(12)
obase
r(15)
scale