8000 merge revision(s) 16641: · documenting-ruby/ruby@b25c0d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit b25c0d7

Browse files
committed
merge revision(s) 16641:
* numeric.c (flo_divmod): Revert the behavior change; do not suppress an exception when div is NaN or Inf. [ruby-dev:34857] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc 8000 hes/ruby_1_8_5@17337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 0bec319 commit b25c0d7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sun Jun 15 23:26:24 2008 Akinori MUSHA <knu@iDaemons.org>
2+
3+
* numeric.c (flo_divmod): Revert the behavior change; do not
4+
suppress an exception when div is NaN or Inf. [ruby-dev:34857]
5+
16
Sun Jun 15 23:21:48 2008 NAKAMURA Usaku <usa@ruby-lang.org>
27

38
* file.c (BUFCHECK): wrong condition. [ruby-core:16921]

numeric.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,9 +760,6 @@ flo_divmod(x, y)
760760
val = round(div);
761761
a = LONG2FIX(val);
762762
}
763-
else if (isnan(div) || isinf(div)) {
764-
a = rb_float_new(div);
765-
}
766763
else {
767764
a = rb_dbl2big(div);
768765
}

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2008-06-15"
33
#define RUBY_VERSION_CODE 185
44
#define RUBY_RELEASE_CODE 20080615
5-
#define RUBY_PATCHLEVEL 217
5+
#define RUBY_PATCHLEVEL 218
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)
0