BUG: Fix clongdouble type in scalar type selection