nu_scripts/stdlib-candidate/tests
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
..
bench.nu improve std bench and add significant-digits (#859) 2024-06-01 04:54:45 -05:00
bulk-rename.nu [stdlib-candidate] Clean up file bulk-rename a little (#798) 2024-03-30 16:19:06 -05:00
math.nu hotfix for significant-digits to not error if the input was 0 (#863) 2024-06-03 08:33:34 -05:00
mod.nu improve std bench and add significant-digits (#859) 2024-06-01 04:54:45 -05:00
record.nu Refactor stdlib-candidate for nupm (#790) 2024-03-16 13:57:05 +02:00
str_xpend.nu Clean up str append/prepend a little (#797) 2024-03-20 10:46:12 -05:00