diff options
author | shigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-29 13:34:00 +0000 |
---|---|---|
committer | shigek <shigek@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-29 13:34:00 +0000 |
commit | 8ab241075728792ed56ef7371e424bec9ee187aa (patch) | |
tree | c4878ff882a277c81e6649fe1b0e479712f1a733 | |
parent | 38b9eb1674afbff4517f082413ba6c7acbf8beff (diff) | |
download | ruby-8ab241075728792ed56ef7371e424bec9ee187aa.tar.gz |
limit inserted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/bigdecimal/sample/linear.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bigdecimal/sample/linear.rb b/ext/bigdecimal/sample/linear.rb index f93404fb6f..c4a428e642 100644 --- a/ext/bigdecimal/sample/linear.rb +++ b/ext/bigdecimal/sample/linear.rb @@ -16,6 +16,8 @@ def rd_order n = gets().chomp.to_i end +BigDecimal::limit(100) + zero = BigDecimal::new("0.0") one = BigDecimal::new("1.0") |