diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-09 14:22:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-09 14:22:54 +0000 |
commit | fba0a9e7e91460eeb86f9c65f5d1b922dacfe57f (patch) | |
tree | cb2a206aeb69552340e0bb25f7c1b93dd68677be /ext | |
parent | 9fcfb0b4ffa227131c3bc8abd9fe01908f46a2df (diff) |
* ext/bigdecimal/extconf.rb: simplified the condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bigdecimal/extconf.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/bigdecimal/extconf.rb b/ext/bigdecimal/extconf.rb index 864aaad862..0c8b98e4a3 100644 --- a/ext/bigdecimal/extconf.rb +++ b/ext/bigdecimal/extconf.rb @@ -1,9 +1,7 @@ require 'mkmf' base_fig = 0 -src = ("(BASE > 0) && " - "(BASE * (BASE+1)) > BASE && " - "(BASE * (BASE+1)) / BASE == (BASE+1)") +src = "(BASE * (BASE+1)) / BASE == (BASE+1)" while try_static_assert(src, nil, "-DBASE=10#{'0'*base_fig}UL") base_fig += 1 end |