diff options
author | daurnimator <quae@daurnimator.com> | 2017-04-26 23:48:06 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-04-26 23:56:55 +1000 |
commit | 0f0e4d15f7e23102ebb374504322942e3771357e (patch) | |
tree | b352f0cdab47f52e3ce2821190c0bd6974e32dd7 /src/lstrlib.js | |
parent | 2c6ad8ae871ec8f511f1b983867fccf031bf38b3 (diff) | |
download | fengari-0f0e4d15f7e23102ebb374504322942e3771357e.tar.gz fengari-0f0e4d15f7e23102ebb374504322942e3771357e.tar.bz2 fengari-0f0e4d15f7e23102ebb374504322942e3771357e.zip |
Move frexp and ldexp to luaconf.js
Diffstat (limited to 'src/lstrlib.js')
-rw-r--r-- | src/lstrlib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lstrlib.js b/src/lstrlib.js index 5bd08d4..f6353a0 100644 --- a/src/lstrlib.js +++ b/src/lstrlib.js @@ -111,7 +111,7 @@ const num2straux = function(x) { return ['-'.charCodeAt(0)].concat(zero); return zero; } else { - let fe = lobject.frexp(x); /* 'x' fraction and exponent */ + let fe = luaconf.frexp(x); /* 'x' fraction and exponent */ let m = fe[0]; let e = fe[1]; let n = 0; /* character count */ |