Public version of abcmath