MPE/iX Shell and Utilities Reference Manual, Vol 1

bc(1) MPE/iX Shell and Utilities bc(1)
ibase=16
ten()
16
In this example, when the base is set to 10, ten() returns the decimal value 10; however,
when the input base is changed to 16, the function returns the decimal value 16. This can be a
source of confusing errors in bc programs.
Finally, the library of functions loaded using the –l option is stored in the file
/usr/lib/lib.b
under your root directory. This is a simple text file which you can examine and change to add
new functions as desired.
MPE/iX NOTES
For information on how the current
MPE/iX implementation may affect the operation of this
utility, see Appendix A, MPE/iX Implementation Considerations.
SEE ALSO
dc(1)
Commands and Utilities 1-67