Conversation
Now, lambert-w has 200 iterations to get more accurate results. Also, converting BigInts to Decimals is now possible! (new Decimal(12345n**12345n).toString() outputs 2.867865225007882e50509)
|
Can you make your changes to the typescript version, please? https://github.com/Patashu/break_eternity.js/blob/master/src/index.ts Then you can run (Or if you can't figure out how to install bili, it took me a while, I can do that part once you're done. I had to update npm so I could update node so I can install yarn so I can install bili. I hate Javascript, lol.) |
|
Wait, is there bigint in typescript? |
|
...I have no idea! Is typescript just not compatible with bigint, then? |
|
I just don't know whether bigint is compatitible in typescript. |
|
BigInt is available is TypeScript since 3.2. I'm not sure if it works with whatever ECMAScipt version is targeted though. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html#bigint |
|
So I must do 25% more work than before(doing typescript)? |
Typescript is a superset of JavaScript, it is compatible. But because you set |
We are targetting ES6 (AKA ES2015) while bigint is a ES2020 feature |
No description provided.