Comments (8)
10^^1e308 means 1e308 raised to 1e308 1e308 times.
from break_eternity.js.
And regarding the docs about methods, we could use JSDoc comments so that they appear in your IDE as well.
from break_eternity.js.
And regarding the docs about methods, we could use JSDoc comments so that they appear in your IDE as well.
- Not every method is documented
- Not every method 100% well documented (or I would say not is 30% documented)
- you are not supposed to write 10 paragraphs in readme in "I dont't care" mode.
- it took someone 10 minutes for write a beautifull Readme and make it 100% usable versus 5% (current state).
I really not enjoy to deal with people thinking we are in their head => If i will be a telepath i don't write that.
The package (break_infinity) is (my intuition) ~10-30% well documented... (use depracated documentation + 1 line or 2).
you could put a minimum effort on doing a beautifull readme and reach ~80% rather than thinking of "writting good documentation" ...
If the maintener cares about documentation:
- prefer something like typescript (you can add it also) rather say "I use JsDoc but many times dont make JSDoc or 1 line or 2 .... lol".
- prefer readme rather than writes 1 line or 2 depend of humor. => proof of reliability and engagement.
Jsdoc are good but the uses in break_infity (maybe as well here) is a joke.
So thats why put readme is neccessary: To be forced to be clear but maybe not a skill of the author.
Like in general as we said as dev ... "tests are garbage", that is also "Just an another myth".
from break_eternity.js.
Regarding JSDoc I meant add JSDoc comments as well (and actually for all then methods, not something like how it's now)
from break_eternity.js.
To add something, I like how this example from the readme:
x = new Decimal(123.4567);
y = new Decimal("123456.7e-3");
z = new Decimal(x);
x.equals(y) && y.equals(z) && x.equals(z); // true
uses implicit creation of global variables which is a bad practice
from break_eternity.js.
Yeah the readme is godawful lmao. Writing a better one would take a lot of effort though, not sure I have it in me.
from break_eternity.js.
just do simple is enought. as we said "keep it stupid, simple" ...
is just a system of number with operations ...
it must be simple ... general to deeper mechanisme ...
Lot efforts if you have a tons of things in your head and cannot organized them ...
Take 10 minutes per day or 1 day per week and on february it is done ... (or even if you have clear mind .... you just make it in 10 minutes ...)
from break_eternity.js.
About your first point: 10^^1e308 is an example of tetration, which is pretty much the defining feature of this library - I feel it can be safely assumed that users of break_eternity know what tetration is, as if they don't, break_eternity probably isn't what they're looking for.
from break_eternity.js.
Related Issues (20)
- Bug? Missed cases with Add and multiply HOT 5
- Reduant constants? HOT 1
- `Decimal.ceil` is incorrect for very small positive numbers HOT 1
- Typescript CommonJS not exported properly HOT 2
- Can't convert BigInt to Decimal without setting its value to 0 HOT 8
- different results when expexting the same result HOT 5
- `Decimal.lambertw("ee4992767175317001")` errors instead of returning a value HOT 2
- The next step HOT 5
- [enhancement] I think I’ve figured out how to do arbitrary-height super-roots. HOT 3
- Tetration/iteratedexp has incorrect behavior for large heights on small bases with large payloads HOT 3
- Wrong String for reciprocals HOT 1
- Wrong factorial approximation HOT 3
- `Decimal.lambertw` occasionally spikes with inputs around the ee31 range HOT 1
- Unexpected NaN from sqrt() HOT 1
- Decimal.isValid() ?
- `new Decimal("(e^x)1")` returns `Decimal` with fractional `layer` if `x` is not an integer HOT 1
- `new Decimal("(e^x)1")` returns `Decimal` with negative `layer` if `x` is negative HOT 1
- The normalization of `new Decimal(-Infinity)` breaks some operations and may be incorrect HOT 3
- Throws a TypeError with standard EcmaScript class fields
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 break_eternity.js.