File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
lib/node_modules/@stdlib/math/base/special/expf Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ var polyvalP = require( './polyval_p.js' );
48
48
* @param {number } hi - upper bound
49
49
* @param {number } lo - lower bound
50
50
* @param {integer } k - power of 2
51
- * @param {integer } x - power of e
52
51
* @returns {number } function value
53
52
*/
54
53
function expmulti ( hi , lo , k ) {
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ var isnan = require( '@stdlib/math/base/assert/is-nan' );
39
39
var truncf = require ( '@stdlib/math/base/special/truncf' ) ;
40
40
var NINF = require ( '@stdlib/constants/float32/ninf' ) ;
41
41
var PINF = require ( '@stdlib/constants/float32/pinf' ) ;
42
- var absf = require ( '@stdlib/math/base/special/absf' ) ;
43
42
var expmulti = require ( './expmulti.js' ) ;
44
43
45
44
Original file line number Diff line number Diff line change 39
39
#include "stdlib/math/base/special/truncf.h"
40
40
#include <stdint.h>
41
41
42
- static const float LN2_HI = 0.69314718 ;
42
+ static const float LN2_HI = 6.9314575195e-01 ;
43
43
static const float LN2_LO = 1.4286067653e-06 ;
44
- static const float LOG2_E = 1.4426950216 ;
44
+ static const float LOG2_E = 1.4426950216e+00 ;
45
45
static const float half [ 2 ] = { 0.5 , -0.5 };
46
- static const float EXP_OVERFLOW = 88.721679688 ;
47
- static const float EXP_UNDERFLOW = -103.97208405 ;
46
+ static const float EXP_OVERFLOW = 8.8721679688e+01 ;
47
+ static const float EXP_UNDERFLOW = -1.0397208405e+02 ;
48
48
static const float NEARZERO = 1.0 / ( 1 << 14 );
49
49
static const float NEG_NEARZERO = -1.0 / ( 1 << 14 );
50
50
You can’t perform that action at this time.
0 commit comments