| 533 | CType multiple; |
| 534 | |
| 535 | explicit RoundToMultiple(const State& state, const DataType& out_ty) |
| 536 | : multiple(UnboxScalar<ArrowType>::Unbox(*state.options.multiple)) { |
| 537 | const auto& options = state.options; |
| 538 | DCHECK(options.multiple); |
| 539 | DCHECK(options.multiple->is_valid); |
| 540 | DCHECK(is_floating(options.multiple->type->id())); |
| 541 | } |
| 542 | |
| 543 | template <typename T = ArrowType, typename CType = typename TypeTraits<T>::CType> |
| 544 | enable_if_floating_value<CType> Call(KernelContext* ctx, CType arg, Status* st) const { |
nothing calls this directly
no test coverage detected