| 894 | template <typename Type, typename CType = typename Type::c_type, |
| 895 | typename ScalarType = typename TypeTraits<Type>::ScalarType> |
| 896 | Status IntegersCanFitImpl(const ArraySpan& values, const DataType& target_type) { |
| 897 | CType bound_min{}, bound_max{}; |
| 898 | GetSafeMinMax<Type>(target_type.id(), &bound_min, &bound_max); |
| 899 | return CheckIntegersInRange(values, ScalarType(bound_min), ScalarType(bound_max)); |
| 900 | } |
| 901 | |
| 902 | } // namespace |
| 903 |
nothing calls this directly
no test coverage detected