nushell/crates/nu-command/src/math
Wind 3770a5eed1
remove duplicate code in math/log.rs (#15022)
# Description
I have investigated all const commands and found that math log contains
some duplicate code, which can be eliminated by introducing a new helper
function. So this pr is going to do this


# User-Facing Changes
NaN

# Tests + Formatting
NaN

# After Submitting
NaN
2025-02-06 07:00:25 -06:00
..
abs.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
avg.rs Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
ceil.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
floor.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
log.rs remove duplicate code in math/log.rs (#15022) 2025-02-06 07:00:25 -06:00
math_.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
max.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
median.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
min.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02: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 Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
product.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
reducers.rs better error message for "sum", "product", and "sum_of_squares" (#14711) 2024-12-31 16:04:23 -06:00
round.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
sqrt.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
stddev.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
sum.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
utils.rs Internal representation (IR) compiler and evaluator (#13330) 2024-07-10 17:33:59 -07:00
variance.rs better error message for "sum", "product", and "sum_of_squares" (#14711) 2024-12-31 16:04:23 -06:00