@siteimprove/alfa-math 0.109.0 → 0.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/real.d.ts +2 -1
- package/dist/real.js +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/real.d.ts
CHANGED
|
@@ -17,7 +17,8 @@ export declare namespace Real {
|
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
19
|
* The modulo operation is different from the remainder operation supported
|
|
20
|
-
* natively in JavaScript through the
|
|
20
|
+
* natively in JavaScript through the `%` operator. The modulo operation
|
|
21
|
+
* always returns a result with the same sign as the divisor.
|
|
21
22
|
*/
|
|
22
23
|
function modulo(p: number, d: number): number;
|
|
23
24
|
/**
|
package/dist/real.js
CHANGED
|
@@ -33,7 +33,8 @@ export var Real;
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* The modulo operation is different from the remainder operation supported
|
|
36
|
-
* natively in JavaScript through the
|
|
36
|
+
* natively in JavaScript through the `%` operator. The modulo operation
|
|
37
|
+
* always returns a result with the same sign as the divisor.
|
|
37
38
|
*/
|
|
38
39
|
function modulo(p, d) {
|
|
39
40
|
return ((p % d) + d) % d;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/package",
|
|
3
3
|
"name": "@siteimprove/alfa-math",
|
|
4
4
|
"homepage": "https://alfa.siteimprove.com",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.111.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"description": "Functionality for working with numbers and mathematical structures, such as vectors and matrices",
|
|
8
8
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist/**/*.d.ts"
|
|
23
23
|
],
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@siteimprove/alfa-test": "^0.
|
|
25
|
+
"@siteimprove/alfa-test": "^0.111.0"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public",
|