Skip to content

Commit 472e973

Browse files
committed
Auto-generated commit
1 parent b48f39f commit 472e973

25 files changed

+179
-40
lines changed

.gitattributes

+23-6
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,27 @@
4040
*.mov binary
4141

4242
# Override what is considered "vendored" by GitHub's linguist:
43-
/deps/** linguist-vendored=false
44-
/lib/node_modules/** linguist-vendored=false linguist-generated=false
45-
test/fixtures/** linguist-vendored=false
46-
tools/** linguist-vendored=false
43+
/lib/node_modules/** -linguist-vendored -linguist-generated
4744

48-
# Override what is considered "documentation" by GitHub's linguist:
49-
examples/** linguist-documentation=false
45+
# Configure directories which should *not* be included in GitHub language statistics:
46+
/deps/** linguist-vendored
47+
/dist/** linguist-generated
48+
/workshops/** linguist-vendored
49+
50+
benchmark/** linguist-vendored
51+
docs/* linguist-documentation
52+
etc/** linguist-vendored
53+
examples/** linguist-documentation
54+
scripts/** linguist-vendored
55+
test/** linguist-vendored
56+
tools/** linguist-vendored
57+
58+
# Configure files which should *not* be included in GitHub language statistics:
59+
Makefile linguist-vendored
60+
*.mk linguist-vendored
61+
*.jl linguist-vendored
62+
*.py linguist-vendored
63+
*.R linguist-vendored
64+
65+
# Configure files which should be included in GitHub language statistics:
66+
docs/types/*.d.ts -linguist-documentation

.github/workflows/productionize.yml

-3
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ jobs:
344344
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
345345
with:
346346
status: ${{ job.status }}
347-
steps: ${{ toJson(steps) }}
348347
channel: '#npm-ci'
349348
if: failure()
350349

@@ -518,7 +517,6 @@ jobs:
518517
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
519518
with:
520519
status: ${{ job.status }}
521-
steps: ${{ toJson(steps) }}
522520
channel: '#npm-ci'
523521
if: failure()
524522

@@ -698,7 +696,6 @@ jobs:
698696
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
699697
with:
700698
status: ${{ job.status }}
701-
steps: ${{ toJson(steps) }}
702699
channel: '#npm-ci'
703700
if: failure()
704701

.github/workflows/publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ jobs:
9494
# Replace branch in README.md link definitions for badges with the new version:
9595
find . -type f -name '*.md' -print0 | xargs -0 sed -Ei "s/branch([=:])[^ ]+/branch\1v${NEW_VERSION}/g"
9696
97+
# Rewrite CHANGELOG.md to replace "Unreleased" with the new version:
98+
sed -Ei "s/Unreleased/${NEW_VERSION}/g" CHANGELOG.md
99+
sed -Ei "s/unreleased/v${NEW_VERSION}/g" CHANGELOG.md
100+
97101
# Create a new commit and tag:
98102
git add package.json README.md
99103
git commit -m "Release v${NEW_VERSION}"
@@ -218,7 +222,6 @@ jobs:
218222
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
219223
with:
220224
status: ${{ job.status }}
221-
steps: ${{ toJson(steps) }}
222225
channel: '#npm-ci'
223226
if: failure()
224227

.github/workflows/test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,5 @@ jobs:
9595
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9696
with:
9797
status: ${{ job.status }}
98-
steps: ${{ toJson(steps) }}
9998
channel: '#npm-ci'
10099
if: failure()

.github/workflows/test_bundles.yml

-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ jobs:
9494
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
9595
with:
9696
status: ${{ job.status }}
97-
steps: ${{ toJson(steps) }}
9897
channel: '#npm-ci'
9998
if: failure()
10099

@@ -139,7 +138,6 @@ jobs:
139138
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
140139
with:
141140
status: ${{ job.status }}
142-
steps: ${{ toJson(steps) }}
143141
channel: '#npm-ci'
144142
if: failure()
145143

@@ -184,6 +182,5 @@ jobs:
184182
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
185183
with:
186184
status: ${{ job.status }}
187-
steps: ${{ toJson(steps) }}
188185
channel: '#npm-ci'
189186
if: failure()

.github/workflows/test_coverage.yml

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ jobs:
119119
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
120120
with:
121121
status: ${{ job.status }}
122-
steps: ${{ toJson(steps) }}
123122
channel: '#npm-ci'
124123
if: failure()
125124

.github/workflows/test_install.yml

-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ jobs:
8181
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
8282
with:
8383
status: ${{ job.status }}
84-
steps: ${{ toJson(steps) }}
8584
channel: '#npm-ci'
8685
if: failure()

CHANGELOG.md

+120-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,123 @@
22

33
> Package changelog.
44
5-
See [GitHub Releases](https://github.com/stdlib-js/complex-real/releases) for the changelog.
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2024-07-16)
8+
9+
<section class="bug-fixes">
10+
11+
### Bug Fixes
12+
13+
- [`cf3f92e`](https://github.com/stdlib-js/stdlib/commit/cf3f92eddd20ec1a4106c8a34f7d7705a9a99dbc) - update include paths
14+
15+
</section>
16+
17+
<!-- /.bug-fixes -->
18+
19+
<section class="commits">
20+
21+
### Commits
22+
23+
<details>
24+
25+
- [`8908bda`](https://github.com/stdlib-js/stdlib/commit/8908bda11588f80edf375466ae9e84a3d70cf7d3) - **refactor:** update paths _(by Athan Reines)_
26+
- [`038b199`](https://github.com/stdlib-js/stdlib/commit/038b199c32842c02cf678e3ae8305a17aacda05e) - **docs:** update paths _(by Athan Reines)_
27+
- [`cf3f92e`](https://github.com/stdlib-js/stdlib/commit/cf3f92eddd20ec1a4106c8a34f7d7705a9a99dbc) - **fix:** update include paths _(by Athan Reines)_
28+
- [`75d4f83`](https://github.com/stdlib-js/stdlib/commit/75d4f83cb85610d23a04dc21a03f8075f6d3665f) - **refactor:** update require and include paths _(by Athan Reines)_
29+
30+
</details>
31+
32+
</section>
33+
34+
<!-- /.commits -->
35+
36+
<section class="contributors">
37+
38+
### Contributors
39+
40+
A total of 1 person contributed to this release. Thank you to this contributor:
41+
42+
- Athan Reines
43+
44+
</section>
45+
46+
<!-- /.contributors -->
47+
48+
</section>
49+
50+
<!-- /.release -->
51+
52+
<section class="release" id="v0.2.1">
53+
54+
## 0.2.1 (2024-02-22)
55+
56+
<section class="features">
57+
58+
### Features
59+
60+
- [`9768c66`](https://github.com/stdlib-js/stdlib/commit/9768c662b6e255b70ba9fb0faa989ea1eea71f66) - update minimum TypeScript version
61+
62+
</section>
63+
64+
<!-- /.features -->
65+
66+
<section class="bug-fixes">
67+
68+
### Bug Fixes
69+
70+
- [`32a2827`](https://github.com/stdlib-js/stdlib/commit/32a282799ffd272d2a0554e81755a14923564e51) - update import paths for complex type defs
71+
72+
</section>
73+
74+
<!-- /.bug-fixes -->
75+
76+
<section class="breaking-changes">
77+
78+
### BREAKING CHANGES
79+
80+
- [`9768c66`](https://github.com/stdlib-js/stdlib/commit/9768c662b6e255b70ba9fb0faa989ea1eea71f66): update minimum TypeScript version
81+
- [`9768c66`](https://github.com/stdlib-js/stdlib/commit/9768c662b6e255b70ba9fb0faa989ea1eea71f66): update minimum TypeScript version to 4.1
82+
83+
- To migrate, users should upgrade their TypeScript version to at least version 4.1.
84+
85+
</section>
86+
87+
<!-- /.breaking-changes -->
88+
89+
<section class="commits">
90+
91+
### Commits
92+
93+
<details>
94+
95+
- [`dea49e0`](https://github.com/stdlib-js/stdlib/commit/dea49e03ab5571233e3da26835a6a6d3256d5737) - **docs:** use single quotes in require calls instead of backticks _(by Philipp Burckhardt)_
96+
- [`1275ef7`](https://github.com/stdlib-js/stdlib/commit/1275ef713bc51293970cc01dcf92f6ec75134000) - **docs:** update links _(by Athan Reines)_
97+
- [`9768c66`](https://github.com/stdlib-js/stdlib/commit/9768c662b6e255b70ba9fb0faa989ea1eea71f66) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
98+
- [`32a2827`](https://github.com/stdlib-js/stdlib/commit/32a282799ffd272d2a0554e81755a14923564e51) - **fix:** update import paths for complex type defs _(by Athan Reines)_
99+
- [`07cc80b`](https://github.com/stdlib-js/stdlib/commit/07cc80b4aa930750251fc70c8b9afe72801da142) - **docs:** resolve C lint errors _(by Athan Reines)_
100+
- [`28e1c84`](https://github.com/stdlib-js/stdlib/commit/28e1c84390d88044883c9ef940a12f38d66ea3ef) - **docs:** resolve C lint errors _(by Athan Reines)_
101+
102+
</details>
103+
104+
</section>
105+
106+
<!-- /.commits -->
107+
108+
<section class="contributors">
109+
110+
### Contributors
111+
112+
A total of 2 people contributed to this release. Thank you to the following contributors:
113+
114+
- Athan Reines
115+
- Philipp Burckhardt
116+
117+
</section>
118+
119+
<!-- /.contributors -->
120+
121+
</section>
122+
123+
<!-- /.release -->
124+

CONTRIBUTORS

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Adarsh Palaskar <[email protected]>
66
Aditya Sapra <[email protected]>
77
AgPriyanshu18 <[email protected]>
8+
Aleksandr <[email protected]>
89
Ali Salesi <[email protected]>
910
Aman Bhansali <[email protected]>
1011
Amit Jimiwal <[email protected]>
@@ -18,13 +19,15 @@ Chinmay Joshi <[email protected]>
1819
Christopher Dambamuromo <[email protected]>
1920
2021
Daniel Killenberger <[email protected]>
22+
Daniel Yu <[email protected]>
2123
Dominik Moritz <[email protected]>
2224
Dorrin Sotoudeh <[email protected]>
2325
EuniceSim142 <[email protected]>
2426
Frank Kovacs <[email protected]>
2527
Golden Kumar <[email protected]>
2628
Gunj Joshi <[email protected]>
2729
Harshita Kalani <[email protected]>
30+
Hridyanshu <[email protected]>
2831
Jaimin Godhani <[email protected]>
2932
James Gelok <[email protected]>
3033
Jaysukh Makvana <[email protected]>
@@ -60,6 +63,7 @@ Pushpendra Chandravanshi <[email protected]>
6063
Raunak Kumar Gupta <[email protected]>
6164
Rejoan Sardar <[email protected]>
6265
Ricky Reusser <[email protected]>
66+
Ridam Garg <[email protected]>
6367
Robert Gislason <[email protected]>
6468
Roman Stetsyk <[email protected]>
6569
@@ -69,8 +73,11 @@ Seyyed Parsa Neshaei <[email protected]>
6973
Shashank Shekhar Singh <[email protected]>
7074
7175
Shraddheya Shendre <[email protected]>
76+
Shubh Mehta <[email protected]>
7277
Shubham Mishra <[email protected]>
73-
Snehil Shah <[email protected]>
78+
Sivam Das <[email protected]>
79+
Snehil Shah <[email protected]>
80+
Soumajit Chatterjee <[email protected]>
7481
Spandan Barve <[email protected]>
7582
Stephannie Jiménez Gacha <[email protected]>
7683
Suraj kumar <[email protected]>
@@ -79,8 +86,10 @@ Tudor Pagu <[email protected]>
7986
Utkarsh <http://[email protected]>
8087
Utkarsh Raj <[email protected]>
8188
Varad Gupta <[email protected]>
89+
Xiaochuan Ye <[email protected]>
8290
Yernar Yergaziyev <[email protected]>
8391
8492
nishant-s7 <[email protected]>
8593
orimiles5 <[email protected]>
94+
8695

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ var real = require( '@stdlib/complex-real' );
7878
Returns the **real** component of a double-precision complex floating-point number.
7979

8080
```javascript
81-
var Complex128 = require( '@stdlib/complex-float64' );
81+
var Complex128 = require( '@stdlib/complex-float64-ctor' );
8282

8383
var z = new Complex128( 5.0, 3.0 );
8484
var re = real( z );
@@ -106,7 +106,7 @@ var re = real( z );
106106
<!-- eslint no-undef: "error" -->
107107

108108
```javascript
109-
var Complex128 = require( '@stdlib/complex-float64' );
109+
var Complex128 = require( '@stdlib/complex-float64-ctor' );
110110
var randu = require( '@stdlib/random-base-randu' );
111111
var round = require( '@stdlib/math-base-special-round' );
112112
var real = require( '@stdlib/complex-real' );
@@ -159,7 +159,7 @@ for ( i = 0; i < 100; i++ ) {
159159
Returns the real component of a double-precision complex floating-point number.
160160

161161
```c
162-
#include "stdlib/complex/float64.h"
162+
#include "stdlib/complex/float64/ctor.h"
163163

164164
stdlib_complex128_t z = stdlib_complex128( 5.0, 2.0 );
165165

@@ -197,7 +197,7 @@ double stdlib_real( const stdlib_complex128_t z );
197197
198198
```c
199199
#include "stdlib/complex/real.h"
200-
#include "stdlib/complex/float64.h"
200+
#include "stdlib/complex/float64/ctor.h"
201201
#include <stdio.h>
202202
203203
int main( void ) {
@@ -240,7 +240,7 @@ int main( void ) {
240240
## See Also
241241

242242
- <span class="package-name">[`@stdlib/complex-imag`][@stdlib/complex/imag]</span><span class="delimiter">: </span><span class="description">return the imaginary component of a double-precision complex floating-point number.</span>
243-
- <span class="package-name">[`@stdlib/complex-reim`][@stdlib/complex/reim]</span><span class="delimiter">: </span><span class="description">return the real and imaginary components of a double-precision complex floating-point number.</span>
243+
- <span class="package-name">[`@stdlib/complex-float64/reim`][@stdlib/complex/float64/reim]</span><span class="delimiter">: </span><span class="description">return the real and imaginary components of a double-precision complex floating-point number.</span>
244244

245245
</section>
246246

@@ -322,7 +322,7 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
322322

323323
[@stdlib/complex/imag]: https://github.com/stdlib-js/complex-imag
324324

325-
[@stdlib/complex/reim]: https://github.com/stdlib-js/complex-reim
325+
[@stdlib/complex/float64/reim]: https://github.com/stdlib-js/complex-float64-reim
326326

327327
<!-- </related-links> -->
328328

benchmark/benchmark.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var bench = require( '@stdlib/bench-harness' );
24-
var Complex128 = require( '@stdlib/complex-float64' );
24+
var Complex128 = require( '@stdlib/complex-float64-ctor' );
2525
var randu = require( '@stdlib/random-base-randu' );
2626
var isnan = require( '@stdlib/math-base-assert-is-nan' );
2727
var pkg = require( './../package.json' ).name;

benchmark/c/native/benchmark.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Benchmark `real`.
2121
*/
2222
#include "stdlib/complex/real.h"
23-
#include "stdlib/complex/float64.h"
23+
#include "stdlib/complex/float64/ctor.h"
2424
#include <stdlib.h>
2525
#include <stdio.h>
2626
#include <math.h>

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/repl.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
Examples
1717
--------
18-
> var z = new {{alias:@stdlib/complex/float64}}( 5.0, 3.0 );
18+
> var z = new {{alias:@stdlib/complex/float64/ctor}}( 5.0, 3.0 );
1919
> var re = {{alias}}( z )
2020
5.0
2121

0 commit comments

Comments
 (0)