mirror of
https://github.com/nushell/nushell.git
synced 2025-05-08 03:54:27 +02:00
allow bench to handle larger numbers (#15162)
# Description This PR allows `bench` to handle larger numbers by using `into float`
This commit is contained in:
parent
f51a79181a
commit
9521b209d1
@ -43,7 +43,7 @@ export def main [
|
||||
mean: ($times | math avg)
|
||||
min: ($times | math min)
|
||||
max: ($times | math max)
|
||||
std: ($times | into int | math stddev | into int | into duration)
|
||||
std: ($times | into int | into float | math stddev | into int | into duration)
|
||||
times: ($times)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user