Skip to content

Commit cdc5cc8

Browse files
refactored examples and readme
1 parent 0ff8838 commit cdc5cc8

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/expf

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/math/base/special/expf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ v = expf( NaN );
8383

8484
```javascript
8585
var uniform = require( '@stdlib/random/array/uniform' );
86-
var expf = require( './../lib' );
86+
var expf = require( '@stdlib/math/base/special/expf' );
8787

8888
var opts = {
8989
'dtype': 'float32'
@@ -93,7 +93,7 @@ var x = uniform( 100, -50.0, 50.0, opts );
9393
var i;
9494

9595
for ( i = 0; i < 100; i++ ) {
96-
console.log( 'e^%f = %f', x, expf( x[ i ] ) );
96+
console.log( 'e^%f = %f', x[ i ], expf( x[ i ] ) );
9797
}
9898
```
9999

0 commit comments

Comments
 (0)