'use strict';

var powm1 = require( './../lib' );

var b;
var x;
var y;
var i;

for ( i = 0; i < 100; i++ ) {
	b = Math.round( Math.random()*10 );
	x = Math.round( Math.random()*10 ) - 5;
	y = powm1( b, x );
	console.log( '%d^%d - 1 = %d', b, x, y );
}

@@ -8,16 +8,74 @@
 rict';%0A%0A
+var round = require( '@stdlib/math/base/special/round' );%0A
 var powm
@@ -166,21 +166,16 @@
  %7B%0A%09b = 
-Math.
 round( M
@@ -198,21 +198,16 @@
 );%0A%09x = 
-Math.
 round( M

Use round special fcn