mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
Add basic trigonometric functions (#7258)
`math sin` `math cos` `math tan` Support degrees with the flag `--degrees`/`-d`
This commit is contained in:
committed by
Stefan Holderbach
parent
64f226f7da
commit
b27d6b2cb1
@ -405,6 +405,9 @@ pub fn create_default_context() -> EngineState {
|
||||
MathStddev,
|
||||
MathSum,
|
||||
MathVariance,
|
||||
MathSin,
|
||||
MathCos,
|
||||
MathTan,
|
||||
MathPi,
|
||||
MathEuler,
|
||||
};
|
||||
|
Reference in New Issue
Block a user