Searched refs:us_per_week (Results 1 - 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
H A D | datetimemodule.c | 1483 static PyObject *us_per_week = NULL; /* 1e6*3600*24*7 as Python long */ variable 1992 y = accum("weeks", x, week, us_per_week, &leftover_us); 4912 * us_per_week fits in 40 bits, so doubles should be exact. 4916 us_per_week = PyLong_FromDouble(604800000000.0); 4917 if (us_per_hour == NULL || us_per_day == NULL || us_per_week == NULL)
|
/external/python/cpython3/Modules/ |
H A D | _datetimemodule.c | 1479 static PyObject *us_per_week = NULL; /* 1e6*3600*24*7 as Python int */ variable 2217 y = accum("weeks", x, week, us_per_week, &leftover_us); 5840 * us_per_week fits in 40 bits, so doubles should be exact. 5844 us_per_week = PyLong_FromDouble(604800000000.0); 5845 if (us_per_hour == NULL || us_per_day == NULL || us_per_week == NULL)
|
Completed in 278 milliseconds