static double roundUpToPowerOfTen_double(double d) { ret iround(exp10(ceil(log10(d)))); }