MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / my_decimal_div

Function my_decimal_div

sql/my_decimal.h:481–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479
480
481inline
482int my_decimal_div(uint mask, my_decimal *res, const my_decimal *a,
483 const my_decimal *b, int div_scale_inc)
484{
485 return check_result_and_overflow(mask,
486 decimal_div(a, b, res, div_scale_inc),
487 res);
488}
489
490
491inline

Callers 1

val_intMethod · 0.85

Calls 2

decimal_divFunction · 0.85

Tested by

no test coverage detected