C library for number systems