File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
lib/node_modules/@stdlib/math/base/special/lucasf/benchmark Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2323var bench = require ( '@stdlib/bench' ) ;
2424var discreteUniform = require ( '@stdlib/random/array/discrete-uniform' ) ;
2525var roundf = require ( '@stdlib/math/base/special/roundf' ) ;
26- var pow = require ( '@stdlib/math/base/special/pow ' ) ;
26+ var powf = require ( '@stdlib/math/base/special/powf ' ) ;
2727var isnanf = require ( '@stdlib/math/base/assert/is-nanf' ) ;
2828var PHI = require ( '@stdlib/constants/float32/phi' ) ;
2929var zeros = require ( '@stdlib/array/base/zeros' ) ;
@@ -68,8 +68,7 @@ bench( pkg+'::analytic', function benchmark( b ) {
6868 } ) ;
6969
7070 function lucasf ( n ) {
71- // TODO: replace with `powf` when available
72- return roundf ( pow ( PHI , n ) ) ;
71+ return roundf ( powf ( PHI , n ) ) ;
7372 }
7473
7574 b . tic ( ) ;
You can’t perform that action at this time.
0 commit comments