nushell/crates/nu-command/src/math
Stefan Holderbach 7c1487e18d
Use int type name consistently (#10579)
# Description
When referring to the type use `int` consistently. Only when referring
to the concept of integer numbers use `integer`.

- Fix `random integer` to `random int` tests
  - Forgot in #10520
- Use int instead of integer in error messages
- Use int type name in bits commands
- Fix messages in `for` examples
- Use int typename in `into` commands
- Use int typename in rest of commands
- Report errors in `nu-protocol` with int typename

Work for #10332 

# User-Facing Changes
User errorrs should now use `int` so you can easily find the necessary
commands or type annotations.

# Tests + Formatting
Only two tests found that needed updating
2023-10-03 18:24:32 +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 Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07: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