Commit Graph

6 Commits

Author SHA1 Message Date
tadf 2b72e549a7 * complex.c: continues to support canonicalization *unofficially*
for an odd library mathn for the time being (only 1.9.x).
	  since grand mathn is must be very very special library for us.

	* rational.c: ditto.

	* ext/mathn/*/*: follow the above changes.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-28 14:11:08 +00:00
usa 46f8afdc56 * ext/mathn/complex/complex.c: no need to define rb_cComplex because
it's already defined at $(srcdir)/complex.c.

	* ext/mathn/rational/rational.c: no need to define rb_cRational because
	  it's already defined at $(srcdir)/rational.c.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-27 11:07:37 +00:00
matz 0ad553ce58 * ext/mathn/rational/rational.c: undef duplicated macro definition
first to shut up the warning.

* ext/mathn/rational/rational.c (rb_rational_new_mathn): specify
  omitted return value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 16:30:09 +00:00
keiju f953305ff5 * ext/mathn/rational.c: change several global functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 12:20:58 +00:00
keiju 7e8ab850b0 * ext/mathn/rational.c: change several global functions to static
function.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 11:47:59 +00:00
keiju 4f817e2a9d * lib/mathn.rb: moved into ext/mathn/rational/rational.c and
ext/mathn/complex/complex.c.
 * ext/mathn: new mathn ext-libralies.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 09:39:53 +00:00