Socket
Socket
Sign inDemoInstall

@stablelib/float

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stablelib/float - npm Package Compare versions

Comparing version 0.5.0 to 1.0.0

4

float.ts
// Copyright (C) 2017 Dmitry Chestnykh
// MIT License. See LICENSE file for details.
/**
* Package float provides helper functions for floating-point numbers.
*/
interface ObjectWithIs extends Object {

@@ -5,0 +9,0 @@ is?: (a: any, b: any) => boolean;

4

lib/float.js

@@ -23,3 +23,3 @@ "use strict";

*/
exports.fround = (Math).fround || froundShim;
exports.fround = Math.fround || froundShim;
function log2Shim(x) {

@@ -36,3 +36,3 @@ return Math.log(x) * Math.LOG2E;

*/
exports.log2 = (Math).log2 || log2Shim;
exports.log2 = Math.log2 || log2Shim;
//# sourceMappingURL=float.js.map
{
"name": "@stablelib/float",
"version": "0.5.0",
"version": "1.0.0",
"description": "Floating-point number utilities",

@@ -15,3 +15,4 @@ "main": "./lib/float.js",

"test": "jasmine JASMINE_CONFIG_PATH=../../configs/jasmine.json"
}
},
"gitHead": "c3b9e138650642a738a9225956c75dbe44c76ae6"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc