nu_scripts/stdlib-candidate
Maxim Uvarov f41d050d32
hotfix for significant-digits to not error if the input was 0 (#863)
In the last `pr` there was an error, that I just discovered and fixed.
Also I added test for this case in future, and some test for negative
numbers

```
0 | signfificant digits 2
 33 │
 34 │     let insignif_position = $n - 1 - ($num | math abs | math log 10 | math floor)
    ·                                       ──┬─              ────┬───
    ·                                         │                   ╰── 'math log' undefined for values outside the open interval (0, Inf).
    ·                                         ╰── value originates from here
 35 │
    ╰────
```

I'm sorry for hassle here 😞
2024-06-03 08:33:34 -05:00
..
std-rfc hotfix for significant-digits to not error if the input was 0 (#863) 2024-06-03 08:33:34 -05:00
tests hotfix for significant-digits to not error if the input was 0 (#863) 2024-06-03 08:33:34 -05:00
nupm.nuon Refactor stdlib-candidate for nupm (#790) 2024-03-16 13:57:05 +02:00
README.md Add str append to stdlib-candidate (#626) 2023-09-30 17:13:46 -05:00

std-lib candidate

This folder is where we can add scripts that might want to be in std-lib at some point. It can serve both as a holding place for scripts that are waiting on nushell changes, as well as a place to develop and discuss such scripts.