| 216 | } |
| 217 | |
| 218 | FORCE_INLINE |
| 219 | void castDECIMAL_float64(double in, int32_t x_precision, int32_t x_scale, |
| 220 | int64_t* out_high, uint64_t* out_low) { |
| 221 | bool overflow = false; |
| 222 | auto out = gandiva::decimalops::FromDouble(in, x_precision, x_scale, &overflow); |
| 223 | *out_high = out.high_bits(); |
| 224 | *out_low = out.low_bits(); |
| 225 | } |
| 226 | |
| 227 | FORCE_INLINE |
| 228 | void castDECIMAL_float32(float in, int32_t x_precision, int32_t x_scale, |
no test coverage detected