File tree 2 files changed +3
-3
lines changed
lib/node_modules/@stdlib/math/base/special/fresnel
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,13 +101,13 @@ static double benchmark( void ) {
101
101
for ( i = 0 ; i < ITERATIONS ; i ++ ) {
102
102
x = ( 20.0 * rand_double () ) - 10.0 ;
103
103
stdlib_base_fresnel ( x , & S , & C );
104
- if ( C != C || S != S ) {
104
+ if ( C != C || S != S ) {
105
105
printf ( "unexpected results\n" );
106
106
break ;
107
107
}
108
108
}
109
109
elapsed = tic () - t ;
110
- if ( C != C || S != S ) {
110
+ if ( C != C || S != S ) {
111
111
printf ( "unexpected results\n" );
112
112
}
113
113
return elapsed ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' );
31
31
*
32
32
* @private
33
33
* @param {number } x - input value
34
- * @returns {Array<number> } S(x) and C(x)
34
+ * @returns {Float64Array } S(x) and C(x)
35
35
*
36
36
* @example
37
37
* var v = fresnel( 0.0 );
You can’t perform that action at this time.
0 commit comments