MCPcopy Create free account
hub / github.com/MariaDB/server / test_mx

Function test_mx

strings/decimal.c:2904–2912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2902
2903
2904void test_mx(int precision, int frac, const char *orig)
2905{
2906 char s[100];
2907 snprintf(s, sizeof(s), "%d, %d", precision, frac);
2908 max_decimal(precision, frac, &a);
2909 printf("%-40s => ", s);
2910 print_decimal(&a, orig, 0, 0);
2911 printf("\n");
2912}
2913
2914
2915void test_pr(const char *s1, int prec, int dec, char filler, const char *orig,

Callers 1

mainFunction · 0.85

Calls 2

max_decimalFunction · 0.85
print_decimalFunction · 0.70

Tested by

no test coverage detected