Commit graph

4 commits

Author SHA1 Message Date
yugui
f85491da54 merges r20683 from trunk into ruby_1_9_1.
* complex.c (nucomp_canonicalization): renamed.

	* ext/math/complex.c: followed the above change.

	* rational.c (nurat_canonicalization): renamed.

	* ext/math/rational.c: followed the above change.

	* configure.in: defines a new macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-19 11:36:56 +00:00
yugui
57dbec8d8a merged r20001 and r20002 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@20030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-29 16:06:09 +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
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