check for support of doubles