File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -731,6 +731,10 @@ A total of 95 issues were closed in this release:
731731
732732<details>
733733
734+ - [`5029670`](https://github.com/stdlib-js/stdlib/commit/5029670736574df60258c5519cf1f6670b50806e) - **bench:** refactor to use dynamic memory allocation in `math/strided/special/drsqrt` [(#11665)](https://github.com/stdlib-js/stdlib/pull/11665) _(by Uday Kakade)_
735+ - [`0359230`](https://github.com/stdlib-js/stdlib/commit/0359230c32ad65ec22d76e3c6fb5679c9dd88255) - **bench:** refactor to use dynamic memory allocation in `math/strided/special/dinv` [(#11666)](https://github.com/stdlib-js/stdlib/pull/11666) _(by Uday Kakade)_
736+ - [`4948ecc`](https://github.com/stdlib-js/stdlib/commit/4948ecca63ca031e99f94d72def40f445852e4db) - **bench:** refactor to use dynamic memory allocation in `math/strided/special/dsqrt` [(#11668)](https://github.com/stdlib-js/stdlib/pull/11668) _(by Uday Kakade)_
737+ - [`2cd5062`](https://github.com/stdlib-js/stdlib/commit/2cd5062361403748ac15fd295708f925d4c3c92f) - **bench:** refactor to use dynamic memory allocation in `math/strided/special/dtrunc` [(#11669)](https://github.com/stdlib-js/stdlib/pull/11669) _(by Uday Kakade)_
734738- [`0f96d30`](https://github.com/stdlib-js/stdlib/commit/0f96d3092e11bed46e6cd83efd770c2d6fa77af1) - **docs:** update namespace table of contents [(#11637)](https://github.com/stdlib-js/stdlib/pull/11637) _(by stdlib-bot, Philipp Burckhardt)_
735739- [`a395fc0`](https://github.com/stdlib-js/stdlib/commit/a395fc0b7b35e6367dd6990257cccde63c95f782) - **docs:** fix return values _(by Athan Reines)_
736740- [`59cfc31`](https://github.com/stdlib-js/stdlib/commit/59cfc311ef41bba1c23ce2db0368f8569ce5b38c) - **docs:** correct JSDoc return value in `math/base/tools/chebyshev-seriesf` [(#11584)](https://github.com/stdlib-js/stdlib/pull/11584) _(by Philipp Burckhardt)_
@@ -2013,7 +2017,7 @@ A total of 95 issues were closed in this release:
20132017
20142018### Contributors
20152019
2016- A total of 83 people contributed to this release. Thank you to the following contributors:
2020+ A total of 84 people contributed to this release. Thank you to the following contributors:
20172021
20182022- Aayush Khanna
20192023- Aman Singh
@@ -2089,6 +2093,7 @@ A total of 83 people contributed to this release. Thank you to the following con
20892093- Shaswata Panda
20902094- Shreelaxmi Hegde
20912095- Shubham
2096+ - Uday Kakade
20922097- Vishal Gaikwad
20932098- Vivek Maurya
20942099- Yohan Park
Original file line number Diff line number Diff line change @@ -114,11 +114,13 @@ float rand_uniformf( float a, float b ) {
114114*/
115115static double benchmark ( int iterations , int len ) {
116116 double elapsed ;
117- double x [ len ] ;
118- double y [ len ] ;
117+ double * x ;
118+ double * y ;
119119 double t ;
120120 int i ;
121121
122+ x = (double * ) malloc ( len * sizeof ( double ) );
123+ y = (double * ) malloc ( len * sizeof ( double ) );
122124 for ( i = 0 ; i < len ; i ++ ) {
123125 x [ i ] = rand_uniform ( -50.0 , 50.0 );
124126 y [ i ] = 0.0 ;
@@ -136,6 +138,8 @@ static double benchmark( int iterations, int len ) {
136138 if ( y [ 0 ] != y [ 0 ] ) {
137139 printf ( "should not return NaN\n" );
138140 }
141+ free ( x );
142+ free ( y );
139143 return elapsed ;
140144}
141145
Original file line number Diff line number Diff line change @@ -114,11 +114,13 @@ float rand_uniformf( float a, float b ) {
114114*/
115115static double benchmark ( int iterations , int len ) {
116116 double elapsed ;
117- double x [ len ] ;
118- double y [ len ] ;
117+ double * x ;
118+ double * y ;
119119 double t ;
120120 int i ;
121121
122+ x = (double * ) malloc ( len * sizeof ( double ) );
123+ y = (double * ) malloc ( len * sizeof ( double ) );
122124 for ( i = 0 ; i < len ; i ++ ) {
123125 x [ i ] = rand_uniform ( 0.0 , 200.0 );
124126 y [ i ] = 0.0 ;
@@ -135,6 +137,8 @@ static double benchmark( int iterations, int len ) {
135137 if ( y [ 0 ] != y [ 0 ] ) {
136138 printf ( "should not return NaN\n" );
137139 }
140+ free ( x );
141+ free ( y );
138142 return elapsed ;
139143}
140144
Original file line number Diff line number Diff line change @@ -114,11 +114,13 @@ float rand_uniformf( float a, float b ) {
114114*/
115115static double benchmark ( int iterations , int len ) {
116116 double elapsed ;
117- double x [ len ] ;
118- double y [ len ] ;
117+ double * x ;
118+ double * y ;
119119 double t ;
120120 int i ;
121121
122+ x = (double * ) malloc ( len * sizeof ( double ) );
123+ y = (double * ) malloc ( len * sizeof ( double ) );
122124 for ( i = 0 ; i < len ; i ++ ) {
123125 x [ i ] = rand_uniform ( 0.0 , 200.0 );
124126 y [ i ] = 0.0 ;
@@ -136,6 +138,8 @@ static double benchmark( int iterations, int len ) {
136138 if ( y [ 0 ] != y [ 0 ] ) {
137139 printf ( "should not return NaN\n" );
138140 }
141+ free ( x );
142+ free ( y );
139143 return elapsed ;
140144}
141145
Original file line number Diff line number Diff line change @@ -114,11 +114,13 @@ float rand_uniformf( float a, float b ) {
114114*/
115115static double benchmark ( int iterations , int len ) {
116116 double elapsed ;
117- double x [ len ] ;
118- double y [ len ] ;
117+ double * x ;
118+ double * y ;
119119 double t ;
120120 int i ;
121121
122+ x = (double * ) malloc ( len * sizeof ( double ) );
123+ y = (double * ) malloc ( len * sizeof ( double ) );
122124 for ( i = 0 ; i < len ; i ++ ) {
123125 x [ i ] = rand_uniform ( -10.0 , 10.0 );
124126 y [ i ] = 0.0 ;
@@ -136,6 +138,8 @@ static double benchmark( int iterations, int len ) {
136138 if ( y [ 0 ] != y [ 0 ] ) {
137139 printf ( "should not return NaN\n" );
138140 }
141+ free ( x );
142+ free ( y );
139143 return elapsed ;
140144}
141145
You can’t perform that action at this time.
0 commit comments