This website requires JavaScript.
Explore
Help
Sign In
extern
/
nushell
Watch
1
Star
0
Fork
1
You've already forked nushell
mirror of
https://github.com/nushell/nushell.git
synced
2024-11-21 16:03:19 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f326680cad
nushell
/
.gitignore
6 lines
68 B
Plaintext
Raw
Normal View
History
Unescape
Escape
objectshell initial commit
2019-05-10 18:59:12 +02: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 18:20:31 +02:00
/scratch
objectshell initial commit
2019-05-10 18:59:12 +02:00
**/*.rs.bk
Can remove files and directories.
2019-07-17 21:51:18 +02: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 18:20:31 +02:00
tests/fixtures/nuplayground
Reference in New Issue
Copy Permalink