1export const intDegree = function (x) {
2 return Math.min(Math.abs(x), 2147483647);
5// See the Euclidean definition in
6// https://en.m.wikipedia.org/wiki/Modulo_operation.
7export const intDiv = function (x) {
10 return y > 0 ? Math.floor(x / y) : -Math.floor(x / -y);
14export const intMod = function (x) {
16 if (y === 0) return 0;
18 return ((x % yy) + yy) % yy;
22export const numDiv = function (n1) {
23 return function (n2) {
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list