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

Method precision

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

Source from the content-addressed store, hash-verified

173 bool sign() const { return decimal_t::sign; }
174 void sign(bool s) { decimal_t::sign= s; }
175 uint precision() const { return intg + frac; }
176
177 /** Swap two my_decimal values */
178 void swap(my_decimal &rhs)

Callers 3

decimal_precisionMethod · 0.80
set_decimalMethod · 0.80
set_from_user_varMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected