Skip to content

Commit 39e27ce

Browse files
committed
Auto-generated commit
1 parent 1f61e5f commit 39e27ce

File tree

9 files changed

+42
-149
lines changed

9 files changed

+42
-149
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-04-14)
7+
## Unreleased (2025-06-09)
88

99
<section class="features">
1010

@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`3bf64b6`](https://github.com/stdlib-js/stdlib/commit/3bf64b62546b1101028888918c0c6baf78de7781) - **docs:** update examples for `complex/float32/base/neg` [(#7291)](https://github.com/stdlib-js/stdlib/pull/7291) _(by Shabareesh Shetty, Athan Reines)_
2526
- [`a1e230f`](https://github.com/stdlib-js/stdlib/commit/a1e230f29297caa89880e9c194c615a0400fb7bc) - **chore:** clean up cppcheck-suppress comments _(by Karan Anand)_
2627
- [`4866c10`](https://github.com/stdlib-js/stdlib/commit/4866c103418bc09e2c11a3f0238ac6941e830eca) - **feat:** add `complex/float32/base/neg` _(by Gururaj Gurram)_
2728

@@ -35,10 +36,12 @@
3536

3637
### Contributors
3738

38-
A total of 2 people contributed to this release. Thank you to the following contributors:
39+
A total of 4 people contributed to this release. Thank you to the following contributors:
3940

41+
- Athan Reines
4042
- Gururaj Gurram
4143
- Karan Anand
44+
- Shabareesh Shetty
4245

4346
</section>
4447

CONTRIBUTORS

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2222
Aman Bhansali <bhansali.1@iitj.ac.in>
2323
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
2424
Amit Jimiwal <amitjimiwal45@gmail.com>
25+
Annamalai Prabu <apfossdev@gmail.com>
2526
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2627
Anshu Kumar <contact.anshukumar@protonmail.com>
2728
Anudeep Sanapala <anudeep0306@gmail.com>
@@ -38,6 +39,7 @@ Daniel Killenberger <daniel.killenberger@gmail.com>
3839
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
3940
Debashis Maharana <debashismaharana7854@gmail.com>
4041
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
42+
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
4143
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
4244
Dev Goel <135586571+corsairier@users.noreply.github.com>
4345
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
@@ -51,15 +53,19 @@ Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
5153
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
5254
Frank Kovacs <fran70kk@gmail.com>
5355
GK Bishnoi <gkishan1kyt@gmail.com>
56+
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5457
Gaurav <gaurav70380@gmail.com>
58+
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
5559
Gautam sharma <gautamkrishnasharma1@gmail.com>
60+
Girish Garg <garggirish2020@gmail.com>
5661
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
5762
Gunj Joshi <gunjjoshi8372@gmail.com>
5863
Gururaj Gurram <gururajgurram1512@gmail.com>
5964
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
60-
Harsh <149176984+hrshya@users.noreply.github.com>
65+
Harsh <harshyadav6078@gmail.com>
6166
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
6267
Harshita Kalani <harshitakalani02@gmail.com>
68+
Hemang Choudhary <coehemang@gmail.com>
6369
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
6470
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
6571
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
@@ -77,6 +83,7 @@ Joris Labie <joris.labie1@gmail.com>
7783
Justin Dennison <justin1dennison@gmail.com>
7884
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
7985
Karan Anand <anandkarancompsci@gmail.com>
86+
Karan Vasudevamurthy <karanlvm123@gmail.com>
8087
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
8188
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8289
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
@@ -85,6 +92,7 @@ Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
8592
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
8693
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
8794
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
95+
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
8896
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
8997
MANI <77221000+Eternity0207@users.noreply.github.com>
9098
Mahfuza Humayra Mohona <mhmohona@gmail.com>
@@ -105,13 +113,15 @@ Naveen Kumar <stupiddint@gmail.com>
105113
Neeraj Pathak <neerajrpathak710@gmail.com>
106114
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
107115
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
116+
Nishant singh <38534128+Nishantsingh11@users.noreply.github.com>
108117
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
109118
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
110119
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
111120
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
112121
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
113122
Ori Miles <97595296+orimiles5@users.noreply.github.com>
114123
Philipp Burckhardt <pburckhardt@outlook.com>
124+
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
115125
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
116126
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
117127
Pranav Goswami <pranavchiku11@gmail.com>
@@ -141,6 +151,7 @@ Ryan Seal <splrk@users.noreply.github.com>
141151
Rylan Yang <137365285+rylany27@users.noreply.github.com>
142152
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
143153
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
154+
Sachin Raj <120590207+schnrj@users.noreply.github.com>
144155
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
145156
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
146157
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
@@ -161,14 +172,19 @@ Spandan Barve <contact@marsian.dev>
161172
Stephannie Jiménez Gacha <steff456@hotmail.com>
162173
Suhaib Ilahi <suhaib.elahi87@gmail.com>
163174
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
175+
Swapnil Hajare <69076366+Swapnil-2502@users.noreply.github.com>
164176
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
165177
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
166178
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
167179
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
180+
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
181+
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
182+
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
168183
Utkarsh <http://utkarsh11105@gmail.com>
169184
Utkarsh Raj <rajutkarsh2505@gmail.com>
170185
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
171186
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
187+
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
172188
Varad Gupta <varadgupta21@gmail.com>
173189
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
174190
Vivek Maurya <vm8118134@gmail.com>
@@ -177,12 +193,15 @@ Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
177193
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
178194
Yugal Kaushik <yugalkaushik14@gmail.com>
179195
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
196+
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
180197
ditsu <170345142+ditsus@users.noreply.github.com>
181198
ekambains <bainsinbusiness@gmail.com>
182199
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
200+
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
183201
lohithganni <116790357+lohithganni@users.noreply.github.com>
184202
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
185203
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
186204
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
187205
rainn <88160429+AmCodesLame@users.noreply.github.com>
188206
rei2hu <reimu@reimu.ws>
207+
zhanggy <geodaoyu@foxmail.com>

README.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -79,41 +79,21 @@ Negates a single-precision complex floating-point number.
7979

8080
```javascript
8181
var Complex64 = require( '@stdlib/complex-float32-ctor' );
82-
var realf = require( '@stdlib/complex-float32-real' );
83-
var imagf = require( '@stdlib/complex-float32-imag' );
8482

8583
var z = new Complex64( -4.0, 5.0 );
8684

8785
var out = cnegf( z );
88-
// returns <Complex64>
89-
90-
var re = realf( out );
91-
// returns 4.0
92-
93-
var im = imagf( out );
94-
// returns -5.0
86+
// returns <Complex64>[ 4.0, -5.0 ]
9587

9688
z = new Complex64( 0.0, 0.0 );
9789

9890
out = cnegf( z );
99-
// returns <Complex64>
100-
101-
re = realf( out );
102-
// returns -0.0
103-
104-
im = imagf( out );
105-
// returns -0.0
91+
// returns <Complex64>[ -0.0, -0.0 ]
10692

10793
z = new Complex64( NaN, NaN );
10894

10995
out = cnegf( z );
110-
// returns <Complex64>
111-
112-
re = realf( out );
113-
// returns NaN
114-
115-
im = imagf( out );
116-
// returns NaN
96+
// returns <Complex64>[ NaN, NaN ]
11797
```
11898

11999
</section>

dist/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/types/index.d.ts

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,54 +30,27 @@ import { Complex64 } from '@stdlib/types/complex';
3030
*
3131
* @example
3232
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
33-
* var realf = require( '@stdlib/complex-float32-real' );
34-
* var imagf = require( '@stdlib/complex-float32-imag' );
3533
*
3634
* var z = new Complex64( -4.2, 5.5 );
37-
* // returns <Complex64>
3835
*
3936
* var out = cnegf( z );
40-
* // returns <Complex64>
41-
*
42-
* var re = realf( out );
43-
* // returns 4.2
44-
*
45-
* var im = imagf( out );
46-
* // returns -5.5
37+
* // returns <Complex64>[ ~4.2, -5.5 ]
4738
*
4839
* @example
4940
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
50-
* var realf = require( '@stdlib/complex-float32-real' );
51-
* var imagf = require( '@stdlib/complex-float32-imag' );
5241
*
5342
* var z = new Complex64( 0.0, 0.0 );
54-
* // returns <Complex64>
5543
*
5644
* var out = cnegf( z );
57-
* // returns <Complex64>
58-
*
59-
* var re = realf( out );
60-
* // returns -0.0
61-
*
62-
* var im = imagf( out );
63-
* // returns -0.0
45+
* // returns <Complex64>[ -0.0, -0.0 ]
6446
*
6547
* @example
6648
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
67-
* var realf = require( '@stdlib/complex-float32-real' );
68-
* var imagf = require( '@stdlib/complex-float32-imag' );
6949
*
7050
* var z = new Complex64( NaN, NaN );
71-
* // returns <Complex64>
7251
*
7352
* var out = cnegf( z );
74-
* // returns <Complex64>
75-
*
76-
* var re = realf( out );
77-
* // returns NaN
78-
*
79-
* var im = imagf( out );
80-
* // returns NaN
53+
* // returns <Complex64>[ NaN, NaN ]
8154
*/
8255
declare function cnegf( z: Complex64 ): Complex64;
8356

lib/index.js

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,57 +25,30 @@
2525
*
2626
* @example
2727
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
28-
* var realf = require( '@stdlib/complex-float32-real' );
29-
* var imagf = require( '@stdlib/complex-float32-imag' );
3028
* var cnegf = require( '@stdlib/complex-float32-base-neg' );
3129
*
3230
* var z = new Complex64( -4.0, 5.0 );
33-
* // returns <Complex64>
3431
*
3532
* var out = cnegf( z );
36-
* // returns <Complex64>
37-
*
38-
* var re = realf( out );
39-
* // returns 4.0
40-
*
41-
* var im = imagf( out );
42-
* // returns -5.0
33+
* // returns <Complex64>[ 4.0, -5.0 ]
4334
*
4435
* @example
4536
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
46-
* var realf = require( '@stdlib/complex-float32-real' );
47-
* var imagf = require( '@stdlib/complex-float32-imag' );
4837
* var cnegf = require( '@stdlib/complex-float32-base-neg' );
4938
*
5039
* var z = new Complex64( 0.0, 0.0 );
51-
* // returns <Complex64>
5240
*
5341
* var out = cnegf( z );
54-
* // returns <Complex64>
55-
*
56-
* var re = realf( out );
57-
* // returns -0.0
58-
*
59-
* var im = imagf( out );
60-
* // returns -0.0
42+
* // returns <Complex64>[ -0.0, -0.0 ]
6143
*
6244
* @example
6345
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
64-
* var realf = require( '@stdlib/complex-float32-real' );
65-
* var imagf = require( '@stdlib/complex-float32-imag' );
6646
* var cnegf = require( '@stdlib/complex-float32-base-neg' );
6747
*
6848
* var z = new Complex64( NaN, NaN );
69-
* // returns <Complex64>
7049
*
7150
* var out = cnegf( z );
72-
* // returns <Complex64>
73-
*
74-
* var re = realf( out );
75-
* // returns NaN
76-
*
77-
* var im = imagf( out );
78-
* // returns NaN
51+
* // returns <Complex64>[ NaN, NaN ]
7952
*/
8053

8154
// MODULES //

0 commit comments

Comments
 (0)