ieee754

WebJar for ieee754

License

License

BSD 3-Clause
GroupId

GroupId

org.webjars.bowergithub.feross
ArtifactId

ArtifactId

ieee754
Last Version

Last Version

1.1.12
Release Date

Release Date

Type

Type

jar
Description

Description

ieee754
WebJar for ieee754
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/feross/ieee754

Download ieee754

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.feross/ieee754/ -->
<dependency>
    <groupId>org.webjars.bowergithub.feross</groupId>
    <artifactId>ieee754</artifactId>
    <version>1.1.12</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.feross/ieee754/
implementation 'org.webjars.bowergithub.feross:ieee754:1.1.12'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.feross/ieee754/
implementation ("org.webjars.bowergithub.feross:ieee754:1.1.12")
'org.webjars.bowergithub.feross:ieee754:jar:1.1.12'
<dependency org="org.webjars.bowergithub.feross" name="ieee754" rev="1.1.12">
  <artifact name="ieee754" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.feross', module='ieee754', version='1.1.12')
)
libraryDependencies += "org.webjars.bowergithub.feross" % "ieee754" % "1.1.12"
[org.webjars.bowergithub.feross/ieee754 "1.1.12"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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.

Versions

Version
1.1.12