ruby--ruby/test/ruby
akr 2c8e7a50c1 * include/ruby/ruby.h (struct RBignum): embed digits in RBignum for
small bignums.

* bignum.c: RBignum embeded digits implemented.

* include/ruby/intern.h: declare rb_big_resize.

* gc.c: don't free embedded digits.

* numeric.c: replace direct bignum field accessor by abstract field
  accessor such as RBIGNUM(val)->sign to RBIGNUM_SIGN(val).

* sprintf.c: ditto.

* compar.c: ditto.

* marshal.c: ditto.

* random.c: ditto.

* .gdbinit: support embedded small bignums.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01 12:02:36 +00:00
..
beginmainend.rb
endblockwarn.rb
envutil.rb
marshaltestlib.rb
sentence.rb * test/ruby/sentence.rb (Sentence): include Enumerable. 2007-08-24 19:01:46 +00:00
test_alias.rb * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string. 2007-08-24 09:57:53 +00:00
test_array.rb
test_assignment.rb test assignment order. 2007-08-25 03:03:29 +00:00
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb
test_clone.rb
test_condition.rb
test_const.rb
test_continuation.rb * cont.c: fix to remove Fiber.new until fiber.so is not loaded. 2007-08-26 03:31:20 +00:00
test_defined.rb
test_dir.rb * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string. 2007-08-24 09:57:53 +00:00
test_enumerator.rb * cont.c: separate Continuation and Fiber from core. 2007-08-25 02:03:44 +00:00
test_env.rb
test_eval.rb * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string. 2007-08-24 09:57:53 +00:00
test_exception.rb
test_fiber.rb * test/ruby/test_fiber.rb: fix to require 'continuation'. 2007-08-25 20:54:50 +00:00
test_file.rb
test_fixnum.rb
test_float.rb
test_fnmatch.rb * io.c (rb_io_each_byte): caused infinite loop. [ruby-dev:31652] 2007-08-26 17:22:26 +00:00
test_gc.rb
test_hash.rb
test_ifunless.rb
test_integer.rb * include/ruby/ruby.h (struct RBignum): embed digits in RBignum for 2007-09-01 12:02:36 +00:00
test_io.rb
test_iterator.rb * enumerator.c (enumerator_next): stop pre-fetching. 2007-08-24 10:48:43 +00:00
test_lambda.rb
test_literal.rb
test_marshal.rb
test_math.rb
test_method.rb
test_module.rb
test_objectspace.rb
test_optimization.rb
test_pack.rb
test_path.rb
test_pipe.rb
test_primitive.rb * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string. 2007-08-24 09:57:53 +00:00
test_proc.rb
test_process.rb
test_rand.rb
test_range.rb
test_readpartial.rb
test_regexp.rb
test_settracefunc.rb
test_signal.rb
test_sprintf.rb
test_string.rb * test/ruby/test_string.rb (test_splice!): tests for [ruby-dev:31665]. 2007-08-28 06:19:11 +00:00
test_stringchar.rb
test_struct.rb
test_super.rb
test_symbol.rb
test_system.rb
test_thread.rb * thread.c: fix Mutex to be interruptable lock. 2007-08-27 16:48:14 +00:00
test_time.rb
test_trace.rb
test_variable.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb