You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove math eval and fully replace it with pure nushell implementation #7073
We currently have math eval that takes a string and parses and executes math in it through the meval crate.
This creates two sources of truth how math behaves in nushell.
Further more the crate carries some out of date dependencies, causing dependency duplication.
Describe the solution you'd like
For nu to be a fully useable scripting language there should be a library of math functions that are implemented with proper care (may be part of the core or a plugin). math eval shouldn't be necessary or trivially implementable in nu code.
Describe alternatives you've considered
Hot take: If you need string math bc is still around, but math eval is only slightly more compatible with nushell/
Activity
webbedspace commentedon Nov 10, 2022
Agree.
Add `math pi` and `math e` constants
Remove `math eval` command
Remove `math eval` command
Add `math pi` and `math e` constants (nushell#7258)
Add `math pi` and `math e` constants (#7258)
Remove `math eval` command (#7284)