Add more number-based fastpaths to the static functions.