summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorOlle Jonsson <olle.jonsson@gmail.com>2021-10-15 14:42:49 +0200
committerKenta Murata <mrkn@mrkn.jp>2021-12-24 02:28:47 +0900
commit03507498b6be06bea89343fba52f2736de76bd35 (patch)
tree9348a83dc0337bfdfe5afc60e4a297a75aa4211f /ext
parenta8f4cc2bfaea2fe37ac6bf99fa1b6c84d7458e1f (diff)
[ruby/bigdecimal] VpCheckException: improve grammar
I added a space before the parenthesis, too. https://github.com/ruby/bigdecimal/commit/159af10b17
Diffstat (limited to 'ext')
-rw-r--r--ext/bigdecimal/bigdecimal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 65e7c864e2..ab3d8d6b81 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -169,13 +169,13 @@ static void
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);
}
}