mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* math.c (domain_check): fix preprocess condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
08db814b84
commit
8272251f6d
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Jun 29 10:59:12 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* math.c (domain_check): fix preprocess condition.
|
||||
|
||||
Sun Jun 29 09:43:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/tmpdir.rb (@@systmpdir): prior LOCAL_APPDATA if possible, and
|
||||
|
|
2
math.c
2
math.c
|
@ -34,7 +34,7 @@ domain_check(x, msg)
|
|||
if (isnan(x)) {
|
||||
#if defined(EDOM)
|
||||
errno = EDOM;
|
||||
#elif define(ERANGE)
|
||||
#elif defined(ERANGE)
|
||||
errno = ERANGE;
|
||||
#endif
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue