uint64_t SafeIntDiv (uint64_t a, uint64_t b) { return (uint64_t)(b == 0 ? 0 : (double)a / (double)b); }
long int SafeIntDiv (long int a, long int b) { return (long int)(b == 0 ? 0 : (double)a / (double)b); }
uint64_t SafeIntDiv (uint64_t a, uint64_t b){ return (uint64_t)(b == 0 ? 0 : (double)a / (double)b); }