зеркало из https://github.com/github/ruby.git
* README.EXT, README.EXT.ja: Mention rb_integer_pack and
rb_integer_unpack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7974fe6a78
Коммит
3cd16b43eb
|
@ -1,3 +1,8 @@
|
|||
Sun Aug 4 07:14:49 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* README.EXT, README.EXT.ja: Mention rb_integer_pack and
|
||||
rb_integer_unpack.
|
||||
|
||||
Sun Aug 4 01:54:45 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c (BARY_TRUNC): New macro.
|
||||
|
|
|
@ -1060,6 +1060,10 @@ NUM2SSIZET(value), SSIZET2NUM(ssize) ::
|
|||
|
||||
Numeric <-> ssize_t
|
||||
|
||||
rb_integer_pack(value, words, numwords, wordsize, nails, flags), rb_integer_unpack(words, numwords, wordsize, nails, flags) ::
|
||||
|
||||
Numeric <-> Arbitrary size integer buffer
|
||||
|
||||
NUM2DBL(value) ::
|
||||
|
||||
Numeric -> double
|
||||
|
|
|
@ -1108,6 +1108,7 @@ Data_Get_Struct(data, type, sval) ::
|
|||
NUM2OFFT(value), OFFT2NUM(off)
|
||||
NUM2SIZET(value), SIZET2NUM(size)
|
||||
NUM2SSIZET(value), SSIZET2NUM(ssize)
|
||||
rb_integer_pack(value, words, numwords, wordsize, nails, flags), rb_integer_unpack(words, numwords, wordsize, nails, flags)
|
||||
NUM2DBL(value)
|
||||
rb_float_new(f)
|
||||
StringValue(value)
|
||||
|
|
Загрузка…
Ссылка в новой задаче