extra routines for double double and quad double precision