lbaseconv
Basenumber.js
lbaseconv | Basenumber.js | |
---|---|---|
1 | 1 | |
0 | 7 | |
- | - | |
1.0 | 0.0 | |
about 2 years ago | about 2 years ago | |
C | JavaScript | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lbaseconv
-
Feedback on first C library
The link to the repository is: github.com/adriancostin6/lbaseconv
Basenumber.js
-
0.1 + 0.2 is not 0.3 in JavaScript.
That's because every number in JavaScript is represented using 64 bits floating point. Since numbers are saved in binary, there are some decimal numbers that are periodics in binary but not in decimal, e.g. 0.2, equivalent to 0.00110011001100110011... in bin. You can avoid this using some BigDecimals libraries like decimal.js, or, if you need to work in different bases, you have Basenumber.js
What are some alternatives?
romanice-dart - A Dart library for converting to/from Roman numerals.
dock-spawn-ts - A TypeScript HTML Docking Framework (fork of dock-spawn)
callback_printf - callback_printf allows the implementation of portable sprintf, snprintf, vsprintf and vsnprintf like output functions. The code includes wrappers for those functions. It supports all formats of the C 11 standard. wchar_t arguments and strings are printed as UTF-8. It's pretty fast, threadsafe and has no dependencies to other libraries.
jsbi-calculator - JSBI-Calculator is an IE11-compatible calculator utility to perform arbitrary (up to 18 decimals) arithmetic computation, with the help of JSBI-based BigDecimal.
ct_temperature - ct_temperature program can convert any combination between °C, °F and K
js-big-decimal - Work with large numbers on the client side with high precision.
number-precision - 🚀1K tiny & fast lib for doing addition, subtraction, multiplication and division operations precisely
Arrayality - Tiny puzzle which gives you freedom