Skip to content

Commit 235fe5b

Browse files
committed
fixup doc for Lib.modHalf
1 parent d2484f3 commit 235fe5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/mod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function mod(v, d) {
1818
}
1919

2020
/**
21-
* sanitized modulus function that always returns in the range [-1.5*d, 1.5*d]
21+
* sanitized modulus function that always returns in the range [-d/2, d/2]
2222
* rather than (-d, 0] if v is negative
2323
*/
2424
function modHalf(v, d) {

0 commit comments

Comments
 (0)