Skip to content

Commit

Permalink
utils,runtime_error: Fix exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Oct 21, 2023
1 parent bf4fe37 commit db3e459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asteria/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>(
Expand Down

0 comments on commit db3e459

Please sign in to comment.