diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-26 12:41:02 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-26 12:41:02 +0000 |
commit | 069d271eb5b237b2274c382c5da011b43b0fa1d9 (patch) | |
tree | 583fe3302f89773f8c23968ee43e94c392078f28 /dln.c | |
parent | d5a16d80be29f9aa39efe8854c324a9b6a43cc07 (diff) | |
download | ruby-069d271eb5b237b2274c382c5da011b43b0fa1d9.tar.gz |
* bignum.c: fix rb_quad_pack and rb_quad_unpack for environments
which don't have 8bytes integer type. This still depends on little
endian.
(rb_quad_pack): use quad_buf_complement. don't raise for large
values.
(rb_quad_unpack): use quad_buf_complement.
(quad_buf_complement): new function extracted frm rb_quad_pack.
add one after bitwise negation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
0 files changed, 0 insertions, 0 deletions