Fix detection rule to classify types as non-floating-point