This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
nushell
Watch
2
Star
0
Fork
You've already forked nushell
0
mirror of
https://github.com/nushell/nushell
synced
2024-11-14 17:07:07 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
68cdeaf8ac
nushell
/
.gitignore
6 lines
68 B
Text
Raw
Normal View
History
Unescape
Escape
objectshell initial commit
2019-05-10 16:59:12 +00:00
/target
Migrated numerics to BigInt/BigDecimal This commit migrates Value's numeric types to BigInt and BigDecimal. The basic idea is that overflow errors aren't great in a shell environment, and not really necessary. The main immediate consequence is that new errors can occur when serializing Nu values to other formats. You can see this in changes to the various serialization formats (JSON, TOML, etc.). There's a new `CoerceInto` trait that uses the `ToPrimitive` trait from `num_traits` to attempt to coerce a `BigNum` or `BigDecimal` into a target type, and produces a `RangeError` (kind of `ShellError`) if the coercion fails. Another possible future consequence is that certain performance-critical numeric operations might be too slow. If that happens, we can introduce specialized numeric types to help improve the performance of those situations, based on the real-world experience.
2019-09-01 16:20:31 +00:00
/scratch
objectshell initial commit
2019-05-10 16:59:12 +00:00
**/*.rs.bk
Can remove files and directories.
2019-07-17 19:51:18 +00:00
history.txt
Migrated numerics to BigInt/BigDecimal This commit migrates Value's numeric types to BigInt and BigDecimal. The basic idea is that overflow errors aren't great in a shell environment, and not really necessary. The main immediate consequence is that new errors can occur when serializing Nu values to other formats. You can see this in changes to the various serialization formats (JSON, TOML, etc.). There's a new `CoerceInto` trait that uses the `ToPrimitive` trait from `num_traits` to attempt to coerce a `BigNum` or `BigDecimal` into a target type, and produces a `RangeError` (kind of `ShellError`) if the coercion fails. Another possible future consequence is that certain performance-critical numeric operations might be too slow. If that happens, we can introduce specialized numeric types to help improve the performance of those situations, based on the real-world experience.
2019-09-01 16:20:31 +00:00
tests/fixtures/nuplayground
Reference in a new issue
Copy permalink