HelenOS sources
ABSVAL 109 boot/genarch/src/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
ABSVAL 121 boot/genarch/src/division.c long long result = (long long) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
ABSVAL 188 boot/genarch/src/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
ABSVAL 208 boot/genarch/src/division.c long long result = (int) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
ABSVAL 112 kernel/genarch/src/softint/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
ABSVAL 124 kernel/genarch/src/softint/division.c long long result = (long long) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
ABSVAL 191 kernel/genarch/src/softint/division.c int result = (int) divandmod32(ABSVAL(a), ABSVAL(b), &rem);
ABSVAL 211 kernel/genarch/src/softint/division.c long long result = (int) divandmod64(ABSVAL(a), ABSVAL(b), &rem);
HelenOS homepage, sources at GitHub