File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lib/node_modules/@stdlib/number/float32/base/signbit/lib Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,19 +34,21 @@ var addon = require( './../src/addon.node' );
3434* @returns {boolean } - boolean indicating if sign bit is on or off
3535*
3636* @example
37+ * var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
3738* var bool = signbitf( toFloat32( 4.0 ) );
3839* // returns false
3940*
4041* @example
42+ * var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );
4143* var bool = signbitf( toFloat32( -9.14e-307 ) );
4244* // returns true
4345*
4446* @example
45- * var bool = signbitf( toFloat32( 0.0 ) );
47+ * var bool = signbitf( 0.0 );
4648* // returns false
4749*
4850* @example
49- * var bool = signbitf( toFloat32( -0.0 ) );
51+ * var bool = signbitf( -0.0 );
5052* // returns true
5153*/
5254function signbitf ( x ) {
You can’t perform that action at this time.
0 commit comments