cmath-js 5.2.1 → 5.3.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/README.md +1 -0
- package/dist/namespace-std/doubles/hypot.js.map +1 -1
- package/dist/namespace-std/doubles/index.d.ts +1 -0
- package/dist/namespace-std/doubles/index.js +1 -0
- package/dist/namespace-std/doubles/index.js.map +1 -1
- package/dist/namespace-std/doubles/isinf.d.ts +1 -0
- package/dist/namespace-std/doubles/isinf.js +4 -0
- package/dist/namespace-std/doubles/isinf.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,7 @@ Implementation of parts of C++'s numerics libraries in TypeScript/JavaScript, in
|
|
|
10
10
|
- [`frexp`](https://en.cppreference.com/w/c/numeric/math/frexp)
|
|
11
11
|
- [`hypot`](https://en.cppreference.com/w/cpp/numeric/math/hypot)
|
|
12
12
|
- [`iscanonical`](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf#subsection.7.12.3)
|
|
13
|
+
- [`isinf`](https://en.cppreference.com/w/c/numeric/math/isinf)
|
|
13
14
|
- [`ldexp`](https://en.cppreference.com/w/c/numeric/math/ldexp)
|
|
14
15
|
- [`nan`](https://en.cppreference.com/w/c/numeric/math/nan)
|
|
15
16
|
- [`nextafter`](https://en.cppreference.com/w/c/numeric/math/nextafter)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hypot.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/hypot.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hypot.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/hypot.ts"],"names":[],"mappings":"AAgBA,MAAM,UAAU,KAAK,CAAY,CAAS,EAAa,CAAS,EAAa,CAAU;IACtF,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC;QAErB,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC5B,CAAC;IACD,IAAI,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;QAC5E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,CAAC;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACzB,CAAC;IACD,OAAO,QAAQ,CAAC;AACjB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export { fpclassify } from "./fpclassify.ts";
|
|
|
4
4
|
export { frexp, type FrexpResult } from "./frexp.ts";
|
|
5
5
|
export { hypot } from "./hypot.ts";
|
|
6
6
|
export { iscanonical } from "./iscanonical.ts";
|
|
7
|
+
export { isinf } from "./isinf.ts";
|
|
7
8
|
export { ldexp } from "./ldexp.ts";
|
|
8
9
|
export * from "./macros.ts";
|
|
9
10
|
export { nan } from "./nan.ts";
|
|
@@ -4,6 +4,7 @@ export { fpclassify } from "./fpclassify.js";
|
|
|
4
4
|
export { frexp } from "./frexp.js";
|
|
5
5
|
export { hypot } from "./hypot.js";
|
|
6
6
|
export { iscanonical } from "./iscanonical.js";
|
|
7
|
+
export { isinf } from "./isinf.js";
|
|
7
8
|
export { ldexp } from "./ldexp.js";
|
|
8
9
|
export * from "./macros.js";
|
|
9
10
|
export { nan } from "./nan.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAoB,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAoB,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isinf(num: number): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isinf.js","sourceRoot":"","sources":["../../../src/namespace-std/doubles/isinf.ts"],"names":[],"mappings":"AAOA,MAAM,UAAU,KAAK,CAAC,GAAW;IAChC,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC;AAC9C,CAAC"}
|