integer-format: Add some useful helper functions.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 26 Nov 2018 00:38:47 +0000 (16:38 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 25 Dec 2018 19:36:12 +0000 (11:36 -0800)
commit03791bf340ec2044c118b5ec8ab9332282e5e806
tree8e1be16bb5a1a56f55303d85ed10d7f55d796b3f
parentefd31da83bce99730d0c85cf34e14965126b0f77
integer-format: Add some useful helper functions.

These functions already existed in float-format.c, but they are more
generally useful, so this commit moves them into integer-format.h.
src/libpspp/float-format.c
src/libpspp/integer-format.h