@stdlib/complex-float32 0.1.0 → 0.2.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/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -562,7 +562,7 @@ See [LICENSE][stdlib-license].
562
562
 
563
563
  ## Copyright
564
564
 
565
- Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
565
+ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
566
566
 
567
567
  </section>
568
568
 
@@ -575,8 +575,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
575
575
  [npm-image]: http://img.shields.io/npm/v/@stdlib/complex-float32.svg
576
576
  [npm-url]: https://npmjs.org/package/@stdlib/complex-float32
577
577
 
578
- [test-image]: https://github.com/stdlib-js/complex-float32/actions/workflows/test.yml/badge.svg?branch=v0.1.0
579
- [test-url]: https://github.com/stdlib-js/complex-float32/actions/workflows/test.yml?query=branch:v0.1.0
578
+ [test-image]: https://github.com/stdlib-js/complex-float32/actions/workflows/test.yml/badge.svg?branch=v0.2.0
579
+ [test-url]: https://github.com/stdlib-js/complex-float32/actions/workflows/test.yml?query=branch:v0.2.0
580
580
 
581
581
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/complex-float32/main.svg
582
582
  [coverage-url]: https://codecov.io/github/stdlib-js/complex-float32?branch=main
@@ -599,8 +599,11 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
599
599
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
600
600
 
601
601
  [deno-url]: https://github.com/stdlib-js/complex-float32/tree/deno
602
+ [deno-readme]: https://github.com/stdlib-js/complex-float32/blob/deno/README.md
602
603
  [umd-url]: https://github.com/stdlib-js/complex-float32/tree/umd
604
+ [umd-readme]: https://github.com/stdlib-js/complex-float32/blob/umd/README.md
603
605
  [esm-url]: https://github.com/stdlib-js/complex-float32/tree/esm
606
+ [esm-readme]: https://github.com/stdlib-js/complex-float32/blob/esm/README.md
604
607
  [branches-url]: https://github.com/stdlib-js/complex-float32/blob/main/branches.md
605
608
 
606
609
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/complex-float32/main/LICENSE
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security
2
+
3
+ > Policy for reporting security vulnerabilities.
4
+
5
+ See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security).
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ function c(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.i
3
3
  });var u=o(function(T,s){
4
4
  function b(){var e={};return e.type="Complex64",e.re=this.re,e.im=this.im,e}s.exports=b
5
5
  });var h=o(function(d,v){
6
- var l=require('@stdlib/assert-is-number/dist').isPrimitive,m=require('@stdlib/utils-define-property/dist'),i=require('@stdlib/utils-define-nonenumerable-read-only-property/dist'),p=require('@stdlib/number-float64-base-to-float32/dist'),f=require('@stdlib/error-tools-fmtprodmsg/dist'),y=a(),E=u();function t(e,r){if(!(this instanceof t))throw new TypeError(format('0Gp0G'));if(!l(e))throw new TypeError(f('0Gp3e',e));if(!l(r))throw new TypeError(f('0Gp3f',r));return m(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:p(e)}),m(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:p(r)}),this}i(t,"BYTES_PER_ELEMENT",4);i(t.prototype,"BYTES_PER_ELEMENT",4);i(t.prototype,"byteLength",8);i(t.prototype,"toString",y);i(t.prototype,"toJSON",E);v.exports=t
6
+ var l=require('@stdlib/assert-is-number/dist').isPrimitive,m=require('@stdlib/utils-define-property/dist'),i=require('@stdlib/utils-define-nonenumerable-read-only-property/dist'),p=require('@stdlib/number-float64-base-to-float32/dist'),f=require('@stdlib/error-tools-fmtprodmsg/dist'),y=a(),E=u();function t(e,r){if(!(this instanceof t))throw new TypeError(f('0Gp0G'));if(!l(e))throw new TypeError(f('0Gp3e',e));if(!l(r))throw new TypeError(f('0Gp3f',r));return m(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:p(e)}),m(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:p(r)}),this}i(t,"BYTES_PER_ELEMENT",4);i(t.prototype,"BYTES_PER_ELEMENT",4);i(t.prototype,"byteLength",8);i(t.prototype,"toString",y);i(t.prototype,"toJSON",E);v.exports=t
7
7
  });var w=h();module.exports=w;
8
8
  /** @license Apache-2.0 */
9
9
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/complex-float32",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "64-bit complex number.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -39,22 +39,23 @@
39
39
  "url": "https://github.com/stdlib-js/stdlib/issues"
40
40
  },
41
41
  "dependencies": {
42
- "@stdlib/assert-is-number": "^0.1.0",
43
- "@stdlib/number-float64-base-to-float32": "^0.1.0",
44
- "@stdlib/string-format": "^0.1.0",
45
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.0",
46
- "@stdlib/utils-define-property": "^0.1.0",
47
- "@stdlib/utils-library-manifest": "^0.1.0",
48
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
42
+ "@stdlib/assert-is-number": "^0.2.0",
43
+ "@stdlib/number-float64-base-to-float32": "^0.2.0",
44
+ "@stdlib/string-format": "^0.2.0",
45
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
46
+ "@stdlib/utils-define-property": "^0.2.0",
47
+ "@stdlib/utils-library-manifest": "^0.2.0",
48
+ "@stdlib/error-tools-fmtprodmsg": "^0.1.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@stdlib/assert-has-own-property": "^0.1.0",
52
- "@stdlib/bench": "^0.1.0",
53
- "@stdlib/math-base-assert-is-nan": "^0.1.0",
54
- "@stdlib/random-base-randu": "^0.0.8",
51
+ "@stdlib/assert-has-own-property": "^0.1.1",
52
+ "@stdlib/math-base-assert-is-nan": "^0.1.1",
53
+ "@stdlib/random-base-randu": "^0.1.0",
55
54
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
56
55
  "istanbul": "^0.4.1",
57
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
56
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
57
+ "@stdlib/bench-harness": "^0.1.2",
58
+ "@stdlib/bench": "^0.3.1"
58
59
  },
59
60
  "engines": {
60
61
  "node": ">=0.10.0",
package/CITATION.cff DELETED
@@ -1,30 +0,0 @@
1
- cff-version: 1.2.0
2
- title: stdlib
3
- message: >-
4
- If you use this software, please cite it using the
5
- metadata from this file.
6
-
7
- type: software
8
-
9
- authors:
10
- - name: The Stdlib Authors
11
- url: https://github.com/stdlib-js/stdlib/graphs/contributors
12
-
13
- repository-code: https://github.com/stdlib-js/stdlib
14
- url: https://stdlib.io
15
-
16
- abstract: |
17
- Standard library for JavaScript and Node.js.
18
-
19
- keywords:
20
- - JavaScript
21
- - Node.js
22
- - TypeScript
23
- - standard library
24
- - scientific computing
25
- - numerical computing
26
- - statistical computing
27
-
28
- license: Apache-2.0 AND BSL-1.0
29
-
30
- date-released: 2016