UNPKG

math-float32-nextafter

Version:

Returns the next representable single-precision floating-point number after x toward y.

92 lines (91 loc) 2.44 kB
{ "name": "math-float32-nextafter", "version": "1.0.0", "description": "Returns the next representable single-precision floating-point number after x toward y.", "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/float32-nextafter.git" }, "keywords": [ "computation", "compute.io", "compute-io", "compute", "math-io", "math.io", "math", "mathematics", "float32", "float", "floating-point", "single", "nextafter", "nextafterf", "next", "after", "ieee754", "number" ], "bugs": { "url": "https://github.com/math-io/float32-nextafter/issues" }, "dependencies": { "const-smallest-float32": "^1.0.0", "float64-to-float32": "^1.0.0", "math-float32-from-word": "^1.0.0", "math-float32-to-word": "^1.0.0" }, "devDependencies": { "browserify": "13.x.x", "codecov": "1.x.x", "const-max-float32": "^1.0.2", "const-ninf-float32": "^1.0.0", "const-pinf-float32": "^1.0.0", "istanbul": "^0.4.1", "jshint": "2.x.x", "jshint-stylish": "2.x.x", "math-float32-from-bits": "^1.0.0", "tap-spec": "4.x.x", "tape": "4.x.x", "testling": "1.x.x", "utils-repeat-string": "^1.0.3" }, "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" }