Clément P

Results 44 comments of Clément P

https://github.com/advisories/GHSA-w4wq-rvmq-77x7

> [...] since it conflicts with implicit multiplication Could we make this possible with the quoted notation? ``` Math.evaluate("5.'3'") // = 16/3 Math.evaluate("5.'3' ^ 3") // = 4096/27 ```

this only works if the parenthesis is placed directly after the point For example `66.2(3)` is **66.2 × 3** or **66.23333...** ?

> but I doubt if it would help since this is not a common notation The common notation is to add a line over the repeated part, I think that's...

We can perhaps consider that if we have something of the form `/\d*\.\d*\(\d+\)/` (like `12.34(65)`) then it is a decimal repetition. It would be curious to want to do **12.34...

This examples should be parsed as *decimal repetition* `12.34(7)` => 12.347777… `12.(7)` => 12.7777… `.12(7)` => 0.127777… `.(7)` => 0.7777… This examples should be parsed *as implicit multiplication* `1234(7)` =>...

> What do you think? I agree, we can't put an implicit multiplication between two numbers, it is like considering that `34` would be equal to **3 × 4**. On...

minimal usual cli options should be also added: ``` -v --version -h --help ```

I think it's better to show a page with information about browser compatibility and and 2 links: - Dabblet result - Gist (code is sometime more important that result)