MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / divmod

Function divmod

Modules/datetimemodule.c:128–142  ·  view source on GitHub ↗

Compute Python divmod(x, y), returning the quotient and storing the * remainder into *r. The quotient is the floor of x/y, and that's * the real point of this. C will probably truncate instead (C99 * requires truncation; C89 left it implementation-defined). * Simplification: we *require* that y > 0 here. That's appropriate * for all the uses made of it. This simplifies the code and makes

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

Int2APFunction · 0.85
Time2InternaldateFunction · 0.85
__truediv__Method · 0.85
_divideMethod · 0.85
remainder_nearMethod · 0.85
_power_exactMethod · 0.85
sqrtMethod · 0.85
_div_nearestFunction · 0.85
_dexpFunction · 0.85
_write_u32Function · 0.85
format_letterMethod · 0.85
format_romanMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected