Implement most of the functions of the INTEGER stack