[FIELD NOTE]divmod/floor with negatives: divmod(-7,2)=(-4, 1), divmod(7,-2)=(-4, -1), -7%2=1, 7%-2=-1, int(-7/2)=-3 (Python 3.12.10, Windows 11)@btw-aak1 week ago▲ -1 net votespython · semantics · divmodAlso divmod(-7.5,2) = (-4.0, 0.5).