@siteimprove/alfa-math 0.109.0 → 0.110.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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @siteimprove/alfa-math
2
2
 
3
+ ## 0.110.0
4
+
3
5
  ## 0.109.0
4
6
 
5
7
  ### Patch Changes
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 % operator.
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 % operator.
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.109.0",
5
+ "version": "0.110.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.109.0"
25
+ "@siteimprove/alfa-test": "^0.110.0"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public",