Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mueller

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mueller

Simple demonastration of Muller's Recurrence problem which demonstartes the floating point roundoff errors

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

mueller

Simple demonastration of Muller's Recurrence problem which shows the floating point roundoff errors.

Use

You can get this example via NPM

npm install mueller

This example is implemented using in 3 ways:

In order to run it this example use the following command

node index.js [library] [decimal_places]

library can be "dec" or "big" for decimal.js or bignumber.js respectively. If it isn't provided native Number is used.

decimal_places is used for bignumber.js and represents the maximum number of decimal places of the results of operations. (default values is 20)

Benchmarks

The tests were done using Intel® Core™ i7-4702MQ @ 2.20 Ghz with default number of decimal places for bignumber.js

native

real    0m0.299s
user    0m0.000s
sys     0m0.031s

bignumber.js

real    0m28.282s
user    0m0.000s
sys     0m0.015s

decimal.js

real    0m25.758s
user    0m0.015s
sys     0m0.015s

Keywords

FAQs

Package last updated on 21 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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