nushell/crates/nu-command/src/math
Stefan Holderbach c5545c59c6
Fix output types of math commands to be narrower (#9740)
# Description
Those commands either only return `Type::Float` or `Type::Int`

Narrow the type to the correct output

# User-Facing Changes
More correct type in documentation
2023-10-11 21:26:35 +02:00
..
abs.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
avg.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
ceil.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
floor.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
log.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
math_.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
max.rs Create Record type (#10103) 2023-08-25 07:50:29 +12:00
median.rs Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
min.rs Create Record type (#10103) 2023-08-25 07:50:29 +12:00
mod.rs cratification: part III of the math commands to nu-cmd-extra (#9674) 2023-07-13 09:11:26 -07:00
mode.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
product.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
reducers.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
round.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
sqrt.rs Fix output types of math commands to be narrower (#9740) 2023-10-11 21:26:35 +02:00
stddev.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
sum.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
utils.rs Use int type name consistently (#10579) 2023-10-03 18:24:32 +02:00
variance.rs Use int type name consistently (#10579) 2023-10-03 18:24:32 +02:00