File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/node_modules/@stdlib/number/float32/base/to-binary-string Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ The function handles [subnormals][subnormals].
5252``` javascript
5353var toFloat32 = require ( ' @stdlib/number/float64/base/to-float32' );
5454
55- str = toBinaryStringf ( toFloat32 ( - 3.14e-39 ) );
55+ var str = toBinaryStringf ( toFloat32 ( - 3.14e-39 ) );
5656// returns '10000000001000100011000100001011'
5757
5858str = toBinaryStringf ( toFloat32 ( 1.4e-45 ) );
@@ -65,7 +65,7 @@ The function handles special values.
6565var PINF = require ( ' @stdlib/constants/float32/pinf' );
6666var NINF = require ( ' @stdlib/constants/float32/ninf' );
6767
68- str = toBinaryStringf ( 0.0 );
68+ var str = toBinaryStringf ( 0.0 );
6969// returns '00000000000000000000000000000000'
7070
7171str = toBinaryStringf ( - 0.0 );
You can’t perform that action at this time.
0 commit comments