mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is now
treated as ("-0.31") not as ("0.31"). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f5022c8e44
commit
1fbbef5d73
3 changed files with 9 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Mar 14 12:30:00 2007 Shigeo Kobayashi <shigeo@tinyforest.jp>
|
||||||
|
|
||||||
|
* ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is now
|
||||||
|
treated as ("-0.31") not as ("0.31").
|
||||||
|
|
||||||
Tue Mar 13 09:25:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Mar 13 09:25:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* common.mk (clear-installed-list): separated from install-prereq.
|
* common.mk (clear-installed-list): separated from install-prereq.
|
||||||
|
|
|
@ -3921,7 +3921,7 @@ VpCtoV(Real *a, const char *int_chr, U_LONG ni, const char *frac, U_LONG nf, con
|
||||||
/* get integer part */
|
/* get integer part */
|
||||||
i = 0;
|
i = 0;
|
||||||
sign = 1;
|
sign = 1;
|
||||||
if(ni > 0) {
|
if(ni >= 0) {
|
||||||
if(int_chr[0] == '-') {
|
if(int_chr[0] == '-') {
|
||||||
sign = -1;
|
sign = -1;
|
||||||
++i;
|
++i;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.8.6"
|
#define RUBY_VERSION "1.8.6"
|
||||||
#define RUBY_RELEASE_DATE "2007-03-13"
|
#define RUBY_RELEASE_DATE "2007-03-14"
|
||||||
#define RUBY_VERSION_CODE 186
|
#define RUBY_VERSION_CODE 186
|
||||||
#define RUBY_RELEASE_CODE 20070313
|
#define RUBY_RELEASE_CODE 20070314
|
||||||
#define RUBY_PATCHLEVEL 5000
|
#define RUBY_PATCHLEVEL 5000
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,11 +9,9 @@
|
||||||
#define RUBY_VERSION_TEENY 6
|
#define RUBY_VERSION_TEENY 6
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 3
|
#define RUBY_RELEASE_MONTH 3
|
||||||
#define RUBY_RELEASE_DAY 13
|
#define RUBY_RELEASE_DAY 14
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
RUBY_EXTERN const char ruby_release_date[];
|
RUBY_EXTERN const char ruby_release_date[];
|
||||||
RUBY_EXTERN const char ruby_platform[];
|
RUBY_EXTERN const char ruby_platform[];
|
||||||
RUBY_EXTERN const int ruby_patchlevel;
|
RUBY_EXTERN const int ruby_patchlevel;
|
||||||
#endif
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue