Package

purescript-int-53

Repository
rgrempel/purescript-int-53
License
MIT
Uploaded by
rgrempel
Published on
2018-12-04T19:48:45Z

Latest release Dependency Status Build Status

Purescript's built-in Int type is restricted to 32-bit integers. However, the Javascript runtime is capable of working with 53-bit integers. So, this module provides an Int53 type, for cases where you want all 53 bits (from -9,007,199,254,740,991 to 9,007,199,254,740,991).

For even larger numbers, consider purescript-bigints, or purescript-hugenums. The advantage of purescript-int-53 over those is that purescript-int-53 is likely to be faster, since it provides a "thinner" wrapper over the underlying Javascript operations.

Installation

Try bower install purescript-int-53

Development

Try something like:

git clone https://github.com/rgrempel/purescript-int-53
npm install
bower install
npm test

API

Documentation for the API can be found on Pursuit. Or, if you are already looking at Pursuit, then below ...

Modules
Data.Int53
Dependencies