cmath-js 5.3.4 → 5.3.6
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/README.md +20 -20
- package/dist/namespace-std/all-numbers/signbit.js.map +1 -1
- package/dist/namespace-std/doubles/fabs.js.map +1 -1
- package/dist/namespace-std/doubles/frexp.js.map +1 -1
- package/dist/namespace-std/doubles/macros.js.map +1 -1
- package/dist/namespace-std/doubles/pow.js.map +1 -1
- package/dist/namespace-std/integers/abs.js.map +1 -1
- package/dist/namespace-std/integers/count-left-or-right-bits/create_countl_one.js.map +1 -1
- package/dist/namespace-std/integers/count-left-or-right-bits/create_countl_zero.js.map +1 -1
- package/dist/namespace-std/integers/count-left-or-right-bits/create_countr_one.js.map +1 -1
- package/dist/namespace-std/integers/count-left-or-right-bits/create_countr_zero.js.map +1 -1
- package/dist/namespace-std/integers/div/div.js.map +1 -1
- package/dist/namespace-std/integers/gcd/gcd.js.map +1 -1
- package/dist/namespace-std/integers/lcm/lcm.js.map +1 -1
- package/dist/namespace-std/integers/popcount.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,25 +4,25 @@ Implementation of parts of C++'s numerics libraries in TypeScript/JavaScript, in
|
|
|
4
4
|
|
|
5
5
|
## Floating-point functions
|
|
6
6
|
|
|
7
|
-
- [`copysign`](https://en.cppreference/numeric/math/copysign)
|
|
8
|
-
- [`fabs`](https://en.cppreference/numeric/math/fabs)
|
|
7
|
+
- [`copysign`](https://en.cppreference.com/c/numeric/math/copysign)
|
|
8
|
+
- [`fabs`](https://en.cppreference.com/c/numeric/math/fabs)
|
|
9
9
|
- [`fpclassify`](https://en.cppreference.com/c/numeric/math/fpclassify)
|
|
10
|
-
- [`frexp`](https://en.cppreference/numeric/math/frexp)
|
|
11
|
-
- [`hypot`](https://en.
|
|
12
|
-
- [`iscanonical`](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf#
|
|
10
|
+
- [`frexp`](https://en.cppreference.com/c/numeric/math/frexp)
|
|
11
|
+
- [`hypot`](https://en.cppreference.com/cpp/numeric/math/hypot)
|
|
12
|
+
- [`iscanonical`](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf#subsubsection.7.12.3.2)
|
|
13
13
|
- [`isfinite`](https://en.cppreference.com/c/numeric/math/isfinite)
|
|
14
|
-
- [`isinf`](https://en.cppreference/numeric/math/isinf)
|
|
15
|
-
- [`ldexp`](https://en.cppreference/numeric/math/ldexp)
|
|
16
|
-
- [`nan`](https://en.cppreference/numeric/math/nan)
|
|
17
|
-
- [`nextafter`](https://en.cppreference/numeric/math/nextafter)
|
|
18
|
-
- [`pow`](https://en.cppreference/numeric/math/pow)
|
|
14
|
+
- [`isinf`](https://en.cppreference.com/c/numeric/math/isinf)
|
|
15
|
+
- [`ldexp`](https://en.cppreference.com/c/numeric/math/ldexp)
|
|
16
|
+
- [`nan`](https://en.cppreference.com/c/numeric/math/nan)
|
|
17
|
+
- [`nextafter`](https://en.cppreference.com/c/numeric/math/nextafter)
|
|
18
|
+
- [`pow`](https://en.cppreference.com/c/numeric/math/pow)
|
|
19
19
|
|
|
20
20
|
## Integer functions
|
|
21
21
|
|
|
22
22
|
These functions accept either a `bigint` or an integer `number`:
|
|
23
23
|
|
|
24
|
-
- [`abs`](https://en.cppreference/numeric/math/abs)
|
|
25
|
-
- [`countl_one`](https://en.
|
|
24
|
+
- [`abs`](https://en.cppreference.com/c/numeric/math/abs)
|
|
25
|
+
- [`countl_one`](https://en.cppreference.com/cpp/numeric/countl_one) as `create_countl_one`, which is used this way:
|
|
26
26
|
```ts
|
|
27
27
|
import { create_countl_one } from "cmath-js";
|
|
28
28
|
const countl_one_u16 = create_countl_one({ bits: 16 });
|
|
@@ -32,18 +32,18 @@ These functions accept either a `bigint` or an integer `number`:
|
|
|
32
32
|
`${integer.toString(2).padStart(16, "0")} has ${countl_one_u16(integer)} leading one bits.`,
|
|
33
33
|
);
|
|
34
34
|
```
|
|
35
|
-
- [`countl_zero`](https://en.
|
|
36
|
-
- [`countr_one`](https://en.
|
|
37
|
-
- [`countr_zero`](https://en.
|
|
38
|
-
- [`div`](https://en.
|
|
39
|
-
- [`gcd`](https://en.
|
|
35
|
+
- [`countl_zero`](https://en.cppreference.com/cpp/numeric/countl_zero) as `create_countl_zero`
|
|
36
|
+
- [`countr_one`](https://en.cppreference.com/cpp/numeric/countr_one) as `create_countr_one`
|
|
37
|
+
- [`countr_zero`](https://en.cppreference.com/cpp/numeric/countr_zero) as `create_countr_zero`
|
|
38
|
+
- [`div`](https://en.cppreference.com/cpp/numeric/math/div)
|
|
39
|
+
- [`gcd`](https://en.cppreference.com/cpp/numeric/gcd). Example:
|
|
40
40
|
```ts
|
|
41
41
|
import { gcd } from "cmath-js";
|
|
42
42
|
// Prints "The greatest common divisor of 24 and 32 is 8."
|
|
43
43
|
console.log(`The greatest common divisor of 24 and 32 is ${gcd(24, 32)}.`);
|
|
44
44
|
```
|
|
45
|
-
- [`lcm`](https://en.
|
|
46
|
-
- [`popcount`](https://en.
|
|
45
|
+
- [`lcm`](https://en.cppreference.com/cpp/numeric/lcm)
|
|
46
|
+
- [`popcount`](https://en.cppreference.com/cpp/numeric/popcount)
|
|
47
47
|
|
|
48
48
|
## Functions for both floats and ints
|
|
49
49
|
|
|
@@ -52,7 +52,7 @@ These functions accept either a `bigint` or an integer `number`:
|
|
|
52
52
|
|
|
53
53
|
## Mathematical constants
|
|
54
54
|
|
|
55
|
-
- Constants in [the `std::numbers` namespace](https://en.
|
|
55
|
+
- Constants in [the `std::numbers` namespace](https://en.cppreference.com/cpp/numeric/constants) are available from the `numbers` subpath export. Example:
|
|
56
56
|
```ts
|
|
57
57
|
import { sqrt3 } from "cmath-js/numbers";
|
|
58
58
|
console.log(`The square root of 3 is ${sqrt3}.`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signbit.js","sourceRoot":"","sources":["../../../src/namespace-std/all-numbers/signbit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"signbit.js","sourceRoot":"","sources":["../../../src/namespace-std/all-numbers/signbit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAYtD,MAAM,UAAU,OAAO,CAAC,GAAoB;IAC3C,OAAO,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,GAAG,CAAC;AAC9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fabs.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/fabs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fabs.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/fabs.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,IAAI,GAA+B,IAAI,CAAC,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frexp.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/frexp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"frexp.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/frexp.ts"],"names":[],"mappings":"AAkCA,MAAM,UAAU,KAAK,CAAC,GAAW;IAChC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACxC,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;IACvC,CAAC;IAED,MAAM,MAAM,GAAW,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAErC,IAAI,QAAQ,GAAW,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1E,IAAI,QAAQ,GAAW,MAAM,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;IAI/C,OAAO,QAAQ,GAAG,GAAG,EAAE,CAAC;QACvB,QAAQ,IAAI,CAAC,CAAC;QACd,EAAE,QAAQ,CAAC;IACZ,CAAC;IAID,OAAO,QAAQ,IAAI,CAAC,EAAE,CAAC;QACtB,QAAQ,IAAI,GAAG,CAAC;QAChB,EAAE,QAAQ,CAAC;IACZ,CAAC;IAGD,IAAI,GAAG,GAAG,CAAC,EAAE,CAAC;QACb,QAAQ,GAAG,CAAC,QAAQ,CAAC;IACtB,CAAC;IAED,OAAO;QACN,QAAQ;QACR,QAAQ;KACR,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"macros.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/macros.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"macros.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/macros.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC;AAC7B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC;AACxB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC;AAC3B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC;AAC9B,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pow.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/pow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pow.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/pow.ts"],"names":[],"mappings":"AAQA,MAAM,UAAU,GAAG,CAAY,IAAY,EAAa,QAAgB;IACvE,IAAI,MAAM,GAAG,IAAI,IAAI,QAAQ,CAAC;IAC9B,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;QACtF,MAAM,GAAG,CAAC,CAAC;IACZ,CAAC;IACD,OAAO,MAAM,CAAC;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abs.js","sourceRoot":"","sources":["../../../src/namespace-std/integers/abs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"abs.js","sourceRoot":"","sources":["../../../src/namespace-std/integers/abs.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,GAAG,CAAC,OAAwB;IAC3C,IAAI,OAAO,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC3C,OAAO,CAAC,OAAO,CAAC;IACjB,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_countl_one.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/count-left-or-right-bits/create_countl_one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"create_countl_one.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/count-left-or-right-bits/create_countl_one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AA+BhD,MAAM,UAAU,iBAAiB,CAAC,EACjC,IAAI,GASJ;IACA,MAAM,WAAW,GAAG,kBAAkB,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAEjD,IAAI,IAAI,IAAI,EAAE,EAAE,CAAC;QAEhB,OAAO,CAAC,OAAwB,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;IAGD,OAAO,CAAC,OAAwB,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_countl_zero.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/count-left-or-right-bits/create_countl_zero.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create_countl_zero.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/count-left-or-right-bits/create_countl_zero.ts"],"names":[],"mappings":"AA6BA,MAAM,UAAU,kBAAkB,CAAC,EAClC,IAAI,GASJ;IACA,IAAI,IAAI,IAAI,EAAE,EAAE,CAAC;QAGhB,MAAM,cAAc,GAAG,EAAE,GAAG,IAAI,CAAC;QACjC,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;QACjC,OAAO,CAAC,OAAO,EAAE,EAAE;YAClB,MAAM,SAAS,GACd,CAAC,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;YACrF,OAAO,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,cAAc,CAAC;QAC/C,CAAC,CAAC;IACH,CAAC;IAID,OAAO,CAAC,OAAO,EAAE,EAAE;QAClB,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;QACxD,IAAI,SAAS,KAAK,EAAE,EAAE,CAAC;YACtB,OAAO,IAAI,CAAC;QACb,CAAC;QACD,OAAO,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_countr_one.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/count-left-or-right-bits/create_countr_one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"create_countr_one.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/count-left-or-right-bits/create_countr_one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AA0BhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAAE,IAAI,EAAoB,EAAuB,EAAE;IACpF,MAAM,WAAW,GAAG,kBAAkB,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAEjD,IAAI,IAAI,IAAI,EAAE,EAAE,CAAC;QAEhB,OAAO,CAAC,OAAwB,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;IAGD,OAAO,CAAC,OAAwB,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AACpE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_countr_zero.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/count-left-or-right-bits/create_countr_zero.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create_countr_zero.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/count-left-or-right-bits/create_countr_zero.ts"],"names":[],"mappings":"AAwBA,MAAM,UAAU,kBAAkB,CAAC,EAAE,IAAI,EAAoB;IAC5D,IAAI,IAAI,IAAI,EAAE,EAAE,CAAC;QAGhB,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;QACjC,OAAO,CAAC,OAAwB,EAAU,EAAE;YAC3C,MAAM,SAAS,GACd,CAAC,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;YAErF,IAAI,SAAS,KAAK,CAAC,EAAE,CAAC;gBACrB,OAAO,IAAI,CAAC;YACb,CAAC;YAGD,MAAM,YAAY,GAAG,SAAS,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;YAEjD,MAAM,WAAW,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAClD,OAAO,WAAW,CAAC;QACpB,CAAC,CAAC;IACH,CAAC;IAID,OAAO,CAAC,OAAwB,EAAU,EAAE;QAC3C,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;QACxD,IAAI,SAAS,KAAK,EAAE,EAAE,CAAC;YACtB,OAAO,IAAI,CAAC;QACb,CAAC;QAED,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QAErC,OAAO,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"div.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/div/div.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAqB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"div.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/div/div.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAqB,MAAM,iBAAiB,CAAC;AAkBhE,MAAM,UAAU,GAAG,CAA6B,QAAiB,EAAE,QAAiB;IACnF,OAAO,OAAO,QAAQ,KAAK,QAAQ;QAClC,CAAC,CAAC,UAAU,CAAC,QAAQ,EAAE,QAAkB,CAAC;QAC1C,CAAC,CAAC,UAAU,CAAC,QAAQ,EAAE,QAAkB,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gcd.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/gcd/gcd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gcd.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/gcd/gcd.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAgB7C,MAAM,UAAU,GAAG,CAAC,QAAyB,EAAE,QAAyB;IACvE,OAAO,OAAO,QAAQ,KAAK,QAAQ;QAClC,CAAC,CAAC,UAAU,CAAC,QAAQ,EAAE,QAAkB,CAAC;QAC1C,CAAC,CAAC,UAAU,CAAC,QAAQ,EAAE,QAAkB,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lcm.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/lcm/lcm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lcm.js","sourceRoot":"","sources":["../../../../src/namespace-std/integers/lcm/lcm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAW7C,MAAM,UAAU,GAAG,CAAC,QAAyB,EAAE,QAAyB;IACvE,OAAO,OAAO,QAAQ,KAAK,QAAQ;QAClC,CAAC,CAAC,UAAU,CAAC,QAAQ,EAAE,QAAkB,CAAC;QAC1C,CAAC,CAAC,UAAU,CAAC,QAAQ,EAAE,QAAkB,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popcount.js","sourceRoot":"","sources":["../../../src/namespace-std/integers/popcount.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"popcount.js","sourceRoot":"","sources":["../../../src/namespace-std/integers/popcount.ts"],"names":[],"mappings":"AAOA,MAAM,UAAU,QAAQ,CAAC,OAAwB;IAChD,IAAI,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;QACjF,OAAO,CAAC,CAAC;IACV,CAAC;IACD,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;QACjD,KAAK,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC"}
|