Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

float16

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

float16

Encode and decode float16

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
12
-45.45%
Maintainers
1
Weekly downloads
 
Created
Source

float16

NPM version build status Test coverage David deps npm download

Encode and decode float16

Installation

$ npm install float16

API Documentation

Example

const { byteToFloat16, float16ToByte } = require('float16');

byteToFloat16(0x3c00)).toBe(1);
byteToFloat16(1)).toBe(0x3c00);

License

MIT

FAQs

Package last updated on 21 Apr 2019

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