[前][次][番号順一覧][スレッド一覧]

ruby-changes:70466

From: Olle <ko1@a...>
Date: Fri, 24 Dec 2021 02:29:45 +0900 (JST)
Subject: [ruby-changes:70466] 03507498b6 (master): [ruby/bigdecimal] VpCheckException: improve grammar

https://git.ruby-lang.org/ruby.git/commit/?id=03507498b6

From 03507498b6be06bea89343fba52f2736de76bd35 Mon Sep 17 00:00:00 2001
From: Olle Jonsson <olle.jonsson@g...>
Date: Fri, 15 Oct 2021 14:42:49 +0200
Subject: [ruby/bigdecimal] VpCheckException: improve grammar

I added a space before the parenthesis, too.

https://github.com/ruby/bigdecimal/commit/159af10b17
---
 ext/bigdecimal/bigdecimal.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 65e7c864e2b..ab3d8d6b81d 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -169,13 +169,13 @@ static void https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L169
 VpCheckException(Real *p, bool always)
 {
     if (VpIsNaN(p)) {
-        VpException(VP_EXCEPTION_NaN, "Computation results to 'NaN'(Not a Number)", always);
+        VpException(VP_EXCEPTION_NaN, "Computation results in 'NaN' (Not a Number)", always);
     }
     else if (VpIsPosInf(p)) {
-        VpException(VP_EXCEPTION_INFINITY, "Computation results to 'Infinity'", always);
+        VpException(VP_EXCEPTION_INFINITY, "Computation results in 'Infinity'", always);
     }
     else if (VpIsNegInf(p)) {
-        VpException(VP_EXCEPTION_INFINITY, "Computation results to '-Infinity'", always);
+        VpException(VP_EXCEPTION_INFINITY, "Computation results in '-Infinity'", always);
     }
 }
 
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]