Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

@xtuc/ieee754

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

@xtuc/ieee754

Read/write IEEE754 floating point numbers from/to a Buffer or array-like object

    1.2.0latest

Version published
Maintainers
1
Weekly downloads
16,359,726
increased by4.82%

Weekly downloads

Readme

Source

ieee754 travis npm downloads javascript style guide

saucelabs

Read/write IEEE754 floating point numbers from/to a Buffer or array-like object.

install

npm install ieee754

methods

var ieee754 = require('ieee754')

The ieee754 object has the following functions:

ieee754.read = function (buffer, offset, isLE, mLen, nBytes) ieee754.write = function (buffer, value, offset, isLE, mLen, nBytes)

The arguments mean the following:

  • buffer = the buffer
  • offset = offset into the buffer
  • value = value to set (only for write)
  • isLe = is little endian?
  • mLen = mantissa length
  • nBytes = number of bytes

what is ieee754?

The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation. Read more.

license

BSD 3 Clause. Copyright (c) 2008, Fair Oaks Labs, Inc.

Keywords

FAQs

What is @xtuc/ieee754?

Read/write IEEE754 floating point numbers from/to a Buffer or array-like object

Is @xtuc/ieee754 popular?

The npm package @xtuc/ieee754 receives a total of 13,722,413 weekly downloads. As such, @xtuc/ieee754 popularity was classified as popular.

Is @xtuc/ieee754 well maintained?

We found that @xtuc/ieee754 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 19 Jul 2018

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc