prepared package for extension to double doubles and quad doubles