From db3e4591240223ec646913995b1885e79d4062b6 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sat, 21 Oct 2023 22:37:49 +0800 Subject: [PATCH] utils,runtime_error: Fix exception messages --- asteria/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asteria/utils.cpp b/asteria/utils.cpp index b761a8b58..c07e50484 100644 --- a/asteria/utils.cpp +++ b/asteria/utils.cpp @@ -227,7 +227,7 @@ safe_double_to_int64(double val) if(fex & FE_INVALID) ::rocket::sprintf_and_throw<::std::invalid_argument>( - "safe_double_to_int64: `%.17g` is not representable as an `int64`", val); + "safe_double_to_int64: `%.17g` is not representable as a 64-bit integer", val); if(fex != 0) ::rocket::sprintf_and_throw<::std::invalid_argument>(