Comments (1)
Unfortunately JavaScript doesn't handle big numbers well at all, see: http://www.hunlock.com/blogs/The_Complete_Javascript_Number_Reference
So yeah, 1.9592937146177773e+38
is getting mangled on the conversion to string, I don't think this would be fixable within base62.js without significant changes to get it to correctly handle JavaScripts lack of support for big numbers.
from base62.js.
Related Issues (20)
- Upgrade mocha to version 4.0.0
- Upgrade growl to version 1.10.3
- Upgrade mocha to version 4.0.1
- Upgrade diff to version 3.4.0
- Upgrade supports-color to version 4.5.0
- ISSUE: If the input string starts with 0 then that 0 is lost during encoding. HOT 12
- Upgrade growl to version 1.10.4
- Upgrade commander to version 2.14.0
- Upgrade commander to version 2.14.1
- Install problem HOT 1
- `TID` is not recognized command. HOT 2
- Upgrade brace-expansion to version 1.1.10
- Upgrade brace-expansion to version 1.1.11
- Is it possible to disable install-stats.js? HOT 3
- Base16 to Base64
- modular ES6 variant HOT 2
- Where is the tag for 1.2.8? HOT 11
- Decoding the same string outputs different results between 1.2.8 and 2.0.0 HOT 8
- BigInt version HOT 5
- Add length feature to get encoded string of specific length.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from base62.js.