From 9521b209d15667e742eaaa50da1b33e06b743a47 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Tue, 25 Feb 2025 08:02:42 -0600 Subject: [PATCH] allow bench to handle larger numbers (#15162) # Description This PR allows `bench` to handle larger numbers by using `into float` --- crates/nu-std/std/bench/mod.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-std/std/bench/mod.nu b/crates/nu-std/std/bench/mod.nu index a32e041ac1..55ce1a8d5e 100644 --- a/crates/nu-std/std/bench/mod.nu +++ b/crates/nu-std/std/bench/mod.nu @@ -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) }