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

ruby-changes:37410

From: nobu <ko1@a...>
Date: Wed, 4 Feb 2015 16:32:53 +0900 (JST)
Subject: [ruby-changes:37410] nobu:r49491 (trunk): bigdecimal.c: fix a typo

nobu	2015-02-04 16:32:43 +0900 (Wed, 04 Feb 2015)

  New Revision: 49491

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49491

  Log:
    bigdecimal.c: fix a typo
    
    * ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt'
      to 'exponent'.  [ruby-core:67980] [Bug #10823] [Fix GH-825]

  Modified files:
    trunk/ChangeLog
    trunk/ext/bigdecimal/bigdecimal.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49490)
+++ ChangeLog	(revision 49491)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Feb  4 16:32:40 2015  Matt Hoyle  <matt@d...>
+
+	* ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt'
+	  to 'exponent'.  [ruby-core:67980] [Bug #10823] [Fix GH-825]
+
 Wed Feb  4 15:55:38 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a
Index: ext/bigdecimal/bigdecimal.c
===================================================================
--- ext/bigdecimal/bigdecimal.c	(revision 49490)
+++ ext/bigdecimal/bigdecimal.c	(revision 49491)
@@ -4453,7 +4453,7 @@ VpSetPTR(Real *a, Real *b, Real *c, size https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L4453
 
     size_t const round_limit = (VpGetPrecLimit() + BASE_FIG - 1) / BASE_FIG;
 
-    assert(a->exponent >= b->expoennt);
+    assert(a->exponent >= b->exponent);
 
     c->frac[0] = 0;
     *av = *bv = 0;

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

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