UNPKG

math-float64-exponent

Version:

Returns an integer corresponding to the unbiased exponent of a double-precision floating-point number.

91 lines (90 loc) 2.34 kB
{ "name": "math-float64-exponent", "version": "1.0.0", "description": "Returns an integer corresponding to the unbiased exponent of a double-precision floating-point number.", "author": { "name": "Athan Reines", "email": "kgryte@gmail.com" }, "contributors": [ { "name": "Athan Reines", "email": "kgryte@gmail.com" } ], "scripts": { "test": "if [ \"${TRAVIS}\" ]; then npm run test-ci; else npm run test-local; fi", "test-local": "tape \"./test/*.js\" | tap-spec", "test-ci": "npm run test-local && xvfb-run npm run test-browsers", "test-cov": "istanbul cover --dir ./reports/coverage --report lcov tape -- \"./test/*.js\"", "test-browsers": "browserify ./test/*.js | testling | tap-spec", "coverage": "istanbul cover --dir ./reports/codecov/coverage --report lcovonly tape -- \"./test/*.js\" && cat ./reports/codecov/coverage/lcov.info | codecov && rm -rf ./reports/codecov" }, "main": "./lib", "repository": { "type": "git", "url": "git://github.com/math-io/float64-exponent.git" }, "keywords": [ "compute.io", "compute-io", "compute", "computation", "math.io", "math-io", "math", "mathematics", "exponent", "unbiased", "bits", "floating-point", "float64", "float", "double", "dbl", "ieee754", "number", "high", "word" ], "bugs": { "url": "https://github.com/math-io/float64-exponent/issues" }, "dependencies": { "math-float64-get-high-word": "^1.0.0" }, "devDependencies": { "browserify": "12.x.x", "codecov": "1.x.x", "const-ninf-float64": "^1.0.0", "const-pinf-float64": "^1.0.0", "istanbul": "^0.4.1", "jshint": "2.x.x", "jshint-stylish": "2.x.x", "math-float64-bits": "^1.0.0", "math-power": "^1.0.0", "math-round": "^1.0.0", "tap-spec": "4.x.x", "tape": "4.x.x", "testling": "1.x.x" }, "testling": { "files": [ "test/*.js" ], "browsers": [ "iexplore/6.0..latest", "firefox/3.0..latest", "firefox/nightly", "chrome/4.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2..latest" ] }, "license": "MIT" }