From 034ce45c23c8371cae592064a644a66f1a243a73 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 1 Dec 2003 08:42:53 +0000 Subject: * pack.c (htov16): converts endian using swap16. htov32(), hton16, hton32 as well. [ruby-talk:85377] * pack.c (swap16): swap 2 bytes no matter how big short is on the platform. swap32() is also prepared. * numeric.c (rb_num2int): returns long to preserve information. rb_fix2int(), rb_num2uint(), rb_fix2uint() as well. [ruby-talk:85377] * numeric.c (rb_num2uint): should not check for value range if the source value is negative. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 3948a5109..c0957fea8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +Mon Dec 1 17:33:47 2003 Yukihiro Matsumoto + + * pack.c (htov16): converts endian using swap16. htov32(), hton16, + hton32 as well. [ruby-talk:85377] + + * pack.c (swap16): swap 2 bytes no matter how big short is on the + platform. swap32() is also prepared. + + * numeric.c (rb_num2int): returns long to preserve information. + rb_fix2int(), rb_num2uint(), rb_fix2uint() as well. + [ruby-talk:85377] + + * numeric.c (rb_num2uint): should not check for value range if the + source value is negative. + Mon Dec 1 17:14:34 2003 Nobuyoshi Nakada * sample/optparse/opttest.rb: added. -- cgit