numeric literals parsing as in spec