File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
lib/node_modules/@stdlib/math/base/special/rcbrtf Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33
33
* // returns ~0.1
34
34
*
35
35
* v = rcbrtf( 0.0 );
36
- * // returns 0.0
36
+ * // returns Infinity
37
37
*
38
38
* v = rcbrtf( Infinity );
39
39
* // returns 0.0
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ var cbrt = require( '@stdlib/math/base/special/cbrt' );
27
27
// MAIN //
28
28
29
29
/**
30
- * Compute the reciprocal cube root of a single-precision floating-point number.
30
+ * Computes the reciprocal cube root of a single-precision floating-point number.
31
31
*
32
32
* @param {number } x - input value
33
33
* @returns {number } reciprocal cube root
Original file line number Diff line number Diff line change 30
30
* // returns 0.5f
31
31
*/
32
32
float stdlib_base_rcbrtf ( const float x ) {
33
- // As the cube root is a fundamental numerical operation, compute in extend precision in order to avoid precision loss:
33
+ // As the cube root is a fundamental numerical operation, compute in extended precision in order to avoid precision loss:
34
34
return 1.0f / stdlib_base_cbrt ( x );
35
35
}
You can’t perform that action at this time.
0 commit comments