Socket
Socket
Sign inDemoInstall

@stdlib/number-float64-base-to-words

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/number-float64-base-to-words

Split a double-precision floating-point number into a higher order word and a lower order word.


Version published
Weekly downloads
433K
decreased by-4.11%
Maintainers
4
Weekly downloads
 
Created

What is @stdlib/number-float64-base-to-words?

@stdlib/number-float64-base-to-words is a utility package that provides functionality to convert a 64-bit floating-point number to its IEEE 754 binary representation. This can be useful for low-level bitwise operations, debugging, and understanding the internal representation of floating-point numbers.

What are @stdlib/number-float64-base-to-words's main functionalities?

Convert Float64 to Words

This feature allows you to convert a 64-bit floating-point number to its IEEE 754 binary representation. The function returns an array containing two 32-bit integers representing the higher and lower order words of the floating-point number.

const toWords = require('@stdlib/number-float64-base-to-words');
const words = toWords(3.14);
console.log(words);

Other packages similar to @stdlib/number-float64-base-to-words

Keywords

FAQs

Package last updated on 15 Nov 2022

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