summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/cmath.rb2
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@
Tue Jun 9 15:13:14 2009 Nobuyoshi Nakada <[email protected]>
* dir.c (dir_s_glob): fixed rdoc. a from Joseph Pecoraro a
@@ -47,7 +47,7 @@ module CMath
end
def log10(z)
- if z.real?
log10!(z)
else
log(z) / log!(10)