[#4603] call for finite/isnan testers — gotoken@... (GOTO Kentaro)

ごとけんです

237 messages 1999/02/02
[#4610] Re: call for finite/isnan testers — Inaba Hiroto <inaba@...> 1999/02/02

稲葉です。

[#4627] Re: call for finite/isnan testers — gotoken@... (GOTO Kentaro) 1999/02/03

ごとけんです

[#4652] Re: call for finite/isnan testers — Inaba Hiroto <inaba@...> 1999/02/03

稲葉です。

[#4653] Re: call for finite/isnan testers — EGUCHI Osamu <eguchi@...> 1999/02/03

えぐち@エスアンドイー です。

[#4658] Re: call for finite/isnan testers — matz@... (Yukihiro Matsumoto) 1999/02/03

まつもと ゆきひろです

[#4659] Re: call for finite/isnan testers — EGUCHI Osamu <eguchi@...> 1999/02/03

えぐち@エスアンドイー です。

[#4674] Re: call for finite/isnan testers — WATANABE Hirofumi <watanabe@...> 1999/02/04

わたなべです.

[#4703] Re: call for finite/isnan testers — EGUCHI Osamu <eguchi@...> 1999/02/04

えぐち@エスアンドイー です。

[#4760] compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/05

えぐち@エスアンドイー です。

[#4780] Re: compare to NaN (Re: Re: call for finite/isnan testers) — matz@... (Yukihiro Matsumoto) 1999/02/06

まつもと ゆきひろです

[#4788] Re: compare to NaN (Re: Re: call for finite/isnan testers) — gotoken@... (GOTO Kentaro) 1999/02/06

ごとけんです

[#4822] Re: compare to NaN (Re: Re: call for finite/isnan testers) — ARIMA Yasuhiro <fit0298@...> 1999/02/07

Regard to "[ruby-dev:4788] Re: compare to NaN (Re: Re: call for finite/isnan testers)"

[#4867] Re: compare to NaN (Re: Re: call for finite/isnan testers) — gotoken@... (GOTO Kentaro) 1999/02/08

ごとけんです

[#4870] Re: compare to NaN (Re: Re: call for finite/isnan testers) — ARIMA Yasuhiro <fit0298@...> 1999/02/09

Regard to "[ruby-dev:4867] Re: compare to NaN (Re: Re: call for finite/isnan testers)"

[#4794] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/06

えぐち@エスアンドイー です。

[#4801] Re: compare to NaN (Re: Re: call for finite/isnan testers) — Tadayoshi Funaba <tadf@...> 1999/02/07

ふなばです。

[#4804] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/07

えぐち@エスアンドイー です。

[#4813] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/07

えぐち@エスアンドイー です。

[#4816] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/07

けいじゅ@日本ラショナルソフトウェアです.

[#4821] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/07

えぐち@エスアンドイー です。

[#4823] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/07

けいじゅ@日本ラショナルソフトウェアです.

[#4826] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/07

えぐち@エスアンドイー です。

[#4842] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/08

けいじゅ@日本ラショナルソフトウェアです.

[#4856] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/08

えぐち@エスアンドイー です。

[#4921] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/09

けいじゅ@日本ラショナルソフトウェアです.

[#4936] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/09

えぐち@エスアンドイー です。

[#4978] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/10

えぐち@エスアンドイー です。

[#5137] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/16

けいじゅ@日本ラショナルソフトウェアです.

[#5167] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/16

えぐち@エスアンドイー です。

[#5200] Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/02/17

けいじゅ@日本ラショナルソフトウェアです.

[#5203] Re: Bigfloat [compare to NaN] — gotoken@... (GOTO Kentaro) 1999/02/17

ごとけんです

[#5209] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/02/17

けいじゅ@日本ラショナルソフトウェアです.

[#5231] Re: Bigfloat [compare to NaN] — gotoken@... (GOTO Kentaro) 1999/02/18

ごとけんです.

[#5280] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/02/18

けいじゅ@日本ラショナルソフトウェアです.

[#5282] Re: Bigfloat [compare to NaN] — gotoken@... (GOTO Kentaro) 1999/02/18

ごとけんです

[#5346] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/02/19

けいじゅ@日本ラショナルソフトウェアです.

[#5387] Re: Bigfloat [compare to NaN] — gotoken@... (GOTO Kentaro) 1999/02/20

ごとけんです

[#5389] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/02/20

けいじゅ@日本ラショナルソフトウェアです.

[#5397] Re: Bigfloat [compare to NaN] — gotoken@... (GOTO Kentaro) 1999/02/20

ごとけんです

[#5408] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/02/20

けいじゅ@日本ラショナルソフトウェアです.

[#5426] Re: Bigfloat [compare to NaN] — gotoken@... (GOTO Kentaro) 1999/02/21

ごとけんです

[#5438] Re: Bigfloat [compare to NaN] — matz@... (Yukihiro Matsumoto) 1999/02/22

まつもと ゆきひろです

[#5441] Re: Bigfloat [compare to NaN] — Daisuke Kanda <MAP2303@...> 1999/02/22

[#5450] Re: Bigfloat [compare to NaN] — matz@... (Yukihiro Matsumoto) 1999/02/22

まつもと ゆきひろです

[#5590] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/02/24

けいじゅ@日本ラショナルソフトウェアです.

[#5603] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/02/24

えぐち@エスアンドイー です。

[#5615] Re: Bigfloat [compare to NaN] — keiju@... (Keiju ISHITSUKA) 1999/02/24

けいじゅ@日本ラショナルソフトウェアです.

[#5619] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/02/24

えぐち@エスアンドイー です。

[#5701] Re: Bigfloat [compare to NaN] — keiju@... (Keiju ISHITSUKA) 1999/02/25

けいじゅ@日本ラショナルソフトウェアです.

[#5721] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/02/25

えぐち@エスアンドイー です。

[#5753] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/02/26

けいじゅ@日本ラショナルソフトウェアです.

[#5763] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/02/26

えぐち@エスアンドイー です。

[#5775] Re: Bigfloat [compare to NaN] — keiju@... (Keiju ISHITSUKA) 1999/02/26

けいじゅ@日本ラショナルソフトウェアです.

[#5782] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/02/26

えぐち@エスアンドイー です。

[#5831] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/03/01

けいじゅ@日本ラショナルソフトウェアです.

[#5848] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/03/01

えぐち@エスアンドイー です。

[#5862] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/03/02

けいじゅ@日本ラショナルソフトウェアです.

[#5864] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/03/02

えぐち@エスアンドイー です。

[#5964] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/03/04

けいじゅ@日本ラショナルソフトウェアです.

[#5966] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/03/04

えぐち@エスアンドイー です。

[#6044] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/03/06

けいじゅ@日本ラショナルソフトウェアです.

[#6065] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/03/07

えぐち@エスアンドイー です。

[#6153] Re: Bigfloat [compare to NaN] — keiju@... (石塚圭樹 ) 1999/03/09

けいじゅ@日本ラショナルソフトウェアです.

[#6161] Re: Bigfloat [compare to NaN] — EGUCHI Osamu <eguchi@...> 1999/03/09

えぐち@エスアンドイー です。

[#4994] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/10

えぐち@エスアンドイー です。

[#5004] 10e9999.to_i (Re: compare to NaN (Re: call for finite/isnan testers)) — gotoken@... (GOTO Kentaro) 1999/02/10

ごとけんです

[#5007] [PATCH] configure w/ isinf() (Re: 10e9999.to_i) — EGUCHI Osamu <eguchi@...> 1999/02/11

えぐち@エスアンドイー です。

[#5019] Re: [PATCH] configure w/ isinf() (Re: 10e9999.to_i) — gotoken@... (GOTO Kentaro) 1999/02/11

ごとけんです

[#4987] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/10

けいじゅ@日本ラショナルソフトウェアです.

[#4990] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/10

えぐち@エスアンドイー です。

[#5163] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/16

けいじゅ@日本ラショナルソフトウェアです.

[#5166] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/16

えぐち@エスアンドイー です。

[#5198] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/17

けいじゅ@日本ラショナルソフトウェアです.

[#5202] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/17

えぐち@エスアンドイー です。

[#5241] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (Keiju ISHITSUKA) 1999/02/18

けいじゅ@日本ラショナルソフトウェアです.

[#5268] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/18

えぐち@エスアンドイー です。

[#5327] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (Keiju ISHITSUKA) 1999/02/19

けいじゅ@日本ラショナルソフトウェアです.

[#5330] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/19

えぐち@エスアンドイー です。

[#5332] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (Keiju ISHITSUKA) 1999/02/19

けいじゅ@日本ラショナルソフトウェアです.

[#5336] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/19

えぐち@エスアンドイー です。

[#5339] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (Keiju ISHITSUKA) 1999/02/19

けいじゅ@日本ラショナルソフトウェアです.

[#5343] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/19

えぐち@エスアンドイー です。

[#5362] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (Keiju ISHITSUKA) 1999/02/19

けいじゅ@日本ラショナルソフトウェアです.

[#5371] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/19

えぐち@エスアンドイー です。

[#5392] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/20

けいじゅ@日本ラショナルソフトウェアです.

[#5400] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/20

えぐち@エスアンドイー です。

[#5569] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (石塚圭樹 ) 1999/02/24

けいじゅ@日本ラショナルソフトウェアです.

[#5602] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/24

えぐち@エスアンドイー です。

[#5621] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (Keiju ISHITSUKA) 1999/02/24

けいじゅ@日本ラショナルソフトウェアです.

[#5625] Re: compare to NaN (Re: Re: call for finite/isnan testers) — EGUCHI Osamu <eguchi@...> 1999/02/24

えぐち@エスアンドイー です。

[#5704] Re: compare to NaN (Re: Re: call for finite/isnan testers) — keiju@... (Keiju ISHITSUKA) 1999/02/25

けいじゅ@日本ラショナルソフトウェアです.

[#4614] Re: cookie on cgi-lib.rb — Wakou Aoyama <wakou@...>

青山です。

40 messages 1999/02/02
[#4616] Re: cookie on cgi-lib.rb — IKARASHI Akira <ikarashi@...> 1999/02/02

五十嵐です。

[#4660] Re: cookie on cgi-lib.rb — Wakou Aoyama <wakou@...> 1999/02/03

青山です。

[#4677] Re: cookie on cgi-lib.rb — matz@... (Yukihiro Matsumoto) 1999/02/04

まつもと ゆきひろです

[#4680] Re: cookie on cgi-lib.rb — Daisuke Kanda <MAP2303@...> 1999/02/04

[#4682] Re: cookie on cgi-lib.rb — TAKAHASHI Masayoshi <maki@...> 1999/02/04

高橋です。なつかしい話題が。

[#4708] Re: cookie on cgi-lib.rb — Shugo Maeda <shugo@...> 1999/02/04

前田です。

[#4615] HTML generator — Wakou Aoyama <wakou@...>

青山です。

79 messages 1999/02/02
[#5217] htmlelem.rb (Re: HTML generator) — Shin-ichiro Hara <sinara@...> 1999/02/17

原です。

[#5221] Re: htmlelem.rb (Re: HTML generator) — Wakou Aoyama <wakou@...> 1999/02/17

青山です。

[#5224] Re: htmlelem.rb (Re: HTML generator) — Shin-ichiro Hara <sinara@...> 1999/02/17

原です。

[#5226] Re: htmlelem.rb (Re: HTML generator) — Wakou Aoyama <wakou@...> 1999/02/17

青山です。

[#5229] Re: htmlelem.rb (Re: HTML generator) — Shin-ichiro Hara <sinara@...> 1999/02/18

原です。

[#5376] Re: eRuby (Re: htmlelem.rb) — Shugo Maeda <shugo@...> 1999/02/19

前田です。

[#5286] Re: htmlelem.rb (Re: HTML generator) — Masatoshi SEKI <m_seki@...> 1999/02/18

[#5351] Re: htmlelem.rb (Re: HTML generator) — Shin-ichiro Hara <sinara@...> 1999/02/19

原です。

[#5489] htmltree.rb (Re: htmlelem.rb) — Shin-ichiro Hara <sinara@...> 1999/02/22

原です。

[#4619] Why automake+libtool? (Re: --enable-shared/BSD) — Motoyuki Kasahara <m-kasahr@...>

笠原です。

25 messages 1999/02/03
[#4622] Re: Why automake+libtool? (Re: --enable-shared/BSD) — matz@... (Yukihiro Matsumoto) 1999/02/03

まつもと ゆきひろです

[#4673] Re: Why automake+libtool? — Motoyuki Kasahara <m-kasahr@...> 1999/02/04

笠原です。

[#4640] Ruby 1.3.1-990203 — matz@... (Yukihiro Matsumoto)

Ruby 1.3.1-990203 is out, check out:

30 messages 1999/02/03
[#4664] Re: Ruby 1.3.1-990203 — gotoken@... (GOTO Kentaro) 1999/02/04

ごとけんです

[#4692] Re: Ruby 1.3.1-990203 — matz@... (Yukihiro Matsumoto) 1999/02/04

まつもと ゆきひろです

[#4694] strtod() maybe not work — gotoken@... (GOTO Kentaro) 1999/02/04

ごとけんです

[#4727] [REQ] 2進数整数リテラル — EGUCHI Osamu <eguchi@...>

えぐち@エスアンドイーです。

17 messages 1999/02/05

[#4825] Backslash(EOL) in comment — WATANABE Hirofumi <eban@...>

わたなべです.

17 messages 1999/02/07
[#4859] Re: Backslash(EOL) in comment — matz@... (Yukihiro Matsumoto) 1999/02/08

まつもと ゆきひろです

[#4837] man Precision — gotoken@... (GOTO Kentaro)

ごとけんです

20 messages 1999/02/08
[#4845] Re: man Precision — keiju@... (石塚圭樹 ) 1999/02/08

けいじゅ@日本ラショナルソフトウェアです.

[#4853] Integer#format — Koji Arai <JCA02266@...>

新井です。

40 messages 1999/02/08
[#4871] Re: Integer#format — matz@... (Yukihiro Matsumoto) 1999/02/09

まつもと ゆきひろです

[#4952] Re: Integer#format — Koji Arai <JCA02266@...> 1999/02/09

新井です。

[#4965] Re: Integer#format — matz@... (Yukihiro Matsumoto) 1999/02/10

まつもと ゆきひろです

[#5034] Re: Integer#format — Koji Arai <JCA02266@...> 1999/02/11

新井です。

[#5067] Re: Integer#format — matz@... (Yukihiro Matsumoto) 1999/02/13

まつもと ゆきひろです

[#5076] Re: Integer#format — Koji Arai <JCA02266@...> 1999/02/13

新井です。

[#5108] Re: Integer#format — matz@... (Yukihiro Matsumoto) 1999/02/15

まつもと ゆきひろです

[#5129] Re: Integer#format — Koji Arai <JCA02266@...> 1999/02/15

新井です。

[#5170] Re: Integer#format — matz@... (Yukihiro Matsumoto) 1999/02/16

まつもと ゆきひろです

[#5414] Re: Integer#format — Koji Arai <JCA02266@...> 1999/02/20

新井です。

[#5453] Re: Integer#format — matz@... (Yukihiro Matsumoto) 1999/02/22

まつもと ゆきひろです

[#5471] Re: Integer#format — kjana@... (YANAGAWA Kazuhisa) 1999/02/22

In message <E10Ep01-00009q-00@ev.netlab.co.jp>

[#5542] Re: Integer#format — matz@... (Yukihiro Matsumoto) 1999/02/23

まつもと ゆきひろです

[#4893] Ruby 1.3.1-990209 — Yukihiro Matsumoto <matz@...>

Ruby 1.3.1-990209 is out, check out:

17 messages 1999/02/09
[#4896] Re: Ruby 1.3.1-990209 — Wakou Aoyama <wakou@...> 1999/02/09

青山です。

[#4950] parse error "and" — Koji Arai <JCA02266@...>

新井です。

17 messages 1999/02/09
[#4956] Re: parse error "and" — EGUCHI Osamu <eguchi@...> 1999/02/10

えぐち@エスアンドイー です。

[#4966] Re: parse error "and" — matz@... (Yukihiro Matsumoto) 1999/02/10

まつもと ゆきひろです

[#5035] Re: parse error "and" — Koji Arai <JCA02266@...> 1999/02/11

新井です。

[#5039] Re: parse error "and" — EGUCHI Osamu <eguchi@...> 1999/02/12

えぐち@エスアンドイー です。

[#4970] Re: to_i,to_s の素朴な疑問 — HQss_YasuiS/hq_ss@...

83 messages 1999/02/10
[#4998] Re: to_i,to_s の素朴な疑問 — Shugo Maeda <shugo@...> 1999/02/10

前田です。

[#5040] Re: to_i,to_s の素朴な疑問 — HQss_YasuiS/hq_ss@... 1999/02/12
[#5173] Re: to_i,to_s の素朴な疑問 — keiju@... (石塚圭樹 ) 1999/02/16

けいじゅ@日本ラショナルソフトウェアです.

[#5204] Re: to_i,to_s の素朴な疑問 — HQss_YasuiS/hq_ss@... 1999/02/17
[#5245] Re: to_i,to_s の素朴な疑問 — matz@... (Yukihiro Matsumoto) 1999/02/18

まつもと ゆきひろです

[#5318] Re: to_i,to_s の素朴な疑問 — keiju@... (石塚圭樹 ) 1999/02/19

けいじゅ@日本ラショナルソフトウェアです.

[#5320] Re: to_i,to_s の素朴な疑問 — gotoken@... (GOTO Kentaro) 1999/02/19

ごとけんです

[#5326] Re: to_i,to_s の素朴な疑問 — matz@... (Yukihiro Matsumoto) 1999/02/19

まつもと ゆきひろです

[#5366] Re: to_i,to_s の素朴な疑問 — matz@... (Yukihiro Matsumoto) 1999/02/19

まつもと ゆきひろです

[#5406] Re: to_i,to_s の素朴な疑問 — matz@... (Yukihiro Matsumoto) 1999/02/20

まつもと ゆきひろです

[#5583] Re: Kernel methods [Re: to_i,to_s の素朴な疑問 ] — matz@... (Yukihiro Matsumoto) 1999/02/24

まつもと ゆきひろです

[#5596] Re: Kernel methods [Re: to_i,to_s の素朴な疑問 ] — matz@... (Yukihiro Matsumoto) 1999/02/24

まつもと ゆきひろです

[#4971] Ruby 1.3.1-990210 — Yukihiro Matsumoto <matz@...>

It's about time for daily Ruby delivery. ;-)

25 messages 1999/02/10

[#5083] [req] cgi-lib NPH support — Shugo Maeda <shugo@...>

前田です。

61 messages 1999/02/13

[#5119] Ruby 1.3.1-990215 — Yukihiro Matsumoto <matz@...>

Ruby 1.3.1-990215 is out, check out:

24 messages 1999/02/15

[#5215] Re: a genericity — toyofuku@...

豊福@パパイヤです。

34 messages 1999/02/17
[#5230] Re: a genericity — gotoken@... (GOTO Kentaro) 1999/02/18

ごとけんです

[#5278] Re: a genericity — keiju@... (石塚圭樹 ) 1999/02/18

けいじゅ@日本ラショナルソフトウェアです.

[#5303] Re: a genericity — gotoken@... (GOTO Kentaro) 1999/02/19

ごとけんです

[#5350] Re: a genericity — keiju@... (石塚圭樹 ) 1999/02/19

けいじゅ@日本ラショナルソフトウェアです.

[#5363] Re: a genericity — gotoken@... (GOTO Kentaro) 1999/02/19

ごとけんです

[#5388] Re: a genericity — keiju@... (石塚圭樹 ) 1999/02/20

けいじゅ@日本ラショナルソフトウェアです.

[#5395] Subseq of Array — Inaba Hiroto <inaba@...>

稲葉です.

127 messages 1999/02/20
[#6017] Re: Subseq of Array — Wakou Aoyama <wakou@...> 1999/03/05

青山です。

[#6022] Re: Subseq of Array — Wakou Aoyama <wakou@...> 1999/03/05

青山です。

[#6033] Re: array[last..first] (Re: Subseq of Array) — Inaba Hiroto <inaba@...> 1999/03/06

自己フォローです。

[#6070] Re: array[last..first] (Re: Subseq of Array) — matz@... (Yukihiro Matsumoto) 1999/03/07

まつもと ゆきひろです

[#6077] Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/07

青山です。

[#6081] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — matz@... (Yukihiro Matsumoto) 1999/03/08

まつもと ゆきひろです

[#6096] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/08

青山です。

[#6128] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Tadayoshi Funaba <tadf@...> 1999/03/08

ふなばです。

[#6137] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/08

青山です。

[#6139] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Tadayoshi Funaba <tadf@...> 1999/03/09

ふなばです。

[#6145] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/09

青山です。

[#6155] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Tadayoshi Funaba <tadf@...> 1999/03/09

ふなばです。

[#6158] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/09

青山です。

[#6164] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Tadayoshi Funaba <tadf@...> 1999/03/09

ふなばです。

[#6165] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/09

青山です。

[#6168] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Tadayoshi Funaba <tadf@...> 1999/03/09

ふなばです。

[#6169] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/09

青山です。

[#6171] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Tadayoshi Funaba <tadf@...> 1999/03/10

ふなばです。

[#6172] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/10

青山です。

[#6187] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — matz@... (Yukihiro Matsumoto) 1999/03/10

まつもと ゆきひろです

[#6200] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Tadayoshi Funaba <tadf@...> 1999/03/10

ふなばです。

[#6205] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/10

青山です。

[#6195] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/10

青山です。

[#6241] Re: Range (Re: array[last..first] (Re: Subseq of Array)) — Wakou Aoyama <wakou@...> 1999/03/11

青山です。

[#6023] Re: Subseq of Array — matz@... (Yukihiro Matsumoto) 1999/03/05

まつもと ゆきひろです

[#6030] Re: Subseq of Array — Shin-ichiro Hara <sinara@...> 1999/03/06

原です。

[#5527] Re: [ruby-list:12268] Re: It wants to install mon_ruby — moochan <moochan@...>

moochan です。

27 messages 1999/02/23
[#5528] -Ks — moochan <moochan@...> 1999/02/23

moochan です.

[#5564] Ruby 1.3.1-990224 — Yukihiro Matsumoto <matz@...>

Ruby 1.3.1-990224 is out, check out:

29 messages 1999/02/24
[#5584] Re: Ruby 1.3.1-990224 — WATANABE Tetsuya <tetsu@...> 1999/02/24

渡辺哲也です。

[#5575] Re: a genericity — "豊福" <toyofuku@...>

豊福@パパイヤです。

34 messages 1999/02/24
[#5595] Re: a genericity — gotoken@... (GOTO Kentaro) 1999/02/24

ごとけんです

[#5606] Re: a genericity — keiju@... (石塚圭樹 ) 1999/02/24

けいじゅ@日本ラショナルソフトウェアです.

[#5630] Re: a genericity — gotoken@... (GOTO Kentaro) 1999/02/24

ごとけんです

[#5635] Re: a genericity — EGUCHI Osamu <eguchi@...> 1999/02/24

えぐち@エスアンドイー です。

[#5601] Re: Hash.new — Inaba Hiroto <inaba@...>

稲葉です.

18 messages 1999/02/24
[#5638] Re: Hash.new — Inaba Hiroto <inaba@...> 1999/02/24

稲葉です。

[#5752] irb on ruby-1.4 — keiju@... (Keiju ISHITSUKA)

けいじゅ@日本ラショナルソフトウェアです.

25 messages 1999/02/26
[#5757] Re: irb on ruby-1.4 — matz@... (Yukihiro Matsumoto) 1999/02/26

まつもと ゆきひろです

[#5762] Re: irb on ruby-1.4 — matz@... (Yukihiro Matsumoto) 1999/02/26

まつもと ゆきひろです

[#5789] Re: irb on ruby-1.4 — matz@... (Yukihiro Matsumoto) 1999/02/26

まつもと ゆきひろです

[#5833] Re: irb on ruby-1.4 — matz@... (Yukihiro Matsumoto) 1999/03/01

まつもと ゆきひろです

[#5776] Precision in Mathematica (Re: Bigfloat) — gotoken@... (GOTO Kentaro)

ごとけんです

19 messages 1999/02/26

[ruby-dev:4604] Re: pack("F") for bigendian float

From: EGUCHI Osamu <eguchi@...>
Date: 1999-02-02 12:19:19 UTC
List: ruby-dev #4604
えぐち@エスアンドイー です。

>>> On Tue, 2 Feb 1999 16:01:38 +0900, gotoken@math.sci.hokudai.ac.jp (GOTO Kentaro) said:

gotoken> ごとけんです
gotoken> 
gotoken> In message "[ruby-dev:4586] Re: pack("F") for bigendian float"
gotoken>     on 99/02/02, Yukihiro Matsumoto <matz@netlab.co.jp> writes:
gotoken> 
gotoken> >まつもと ゆきひろです
gotoken> 
gotoken> >取り込みましょう.でも,今度からはconfigure.inのパッチをくだ
gotoken> >さいね.
gotoken> 
gotoken> うわぁ、ごめんなさい。autoconf 用意しときます。
gotoken> どうもありがとうございました。
gotoken> 
gotoken> # あとは「(機種依存)」をハズさねば

SunOS-4.1.4-JLE の cc と gcc でコンパイルして見たら、
以下のような事に気が付きました。

 + -pic だとブランチが届かないので -PIC に変更
 + ANSIC のトークンペースト ##  を使っていますが、
   SunCC の様な古代のコンパイラは、 ## を理解しないので
   適宜 /**/ で代用するように configure.in で調整。
 + typo 若干

ruby-1.3.1-990201 からのパッチを添付します。

	えぐち

Attachments (1)

pack-131-990201.diff (11 KB, text/x-diff)
diff -rud ../ruby-1.3.1-990201/configure.in ./configure.in
--- ../ruby-1.3.1-990201/configure.in	Wed Jan 27 16:25:52 1999
+++ ./configure.in	Tue Feb  2 20:13:59 1999
@@ -98,6 +98,7 @@
 # checks for UNIX variants that set C preprocessor variables
 AC_MINIX
 
+AC_CHECK_SIZEOF(short)
 AC_CHECK_SIZEOF(int)
 AC_CHECK_SIZEOF(long)
 AC_CHECK_SIZEOF(void*)
@@ -114,6 +115,12 @@
   AC_DEFINE(HAVE_PROTOTYPES)
 fi
 
+AC_MSG_CHECKING(token paste string)
+AC_TRY_COMPILE([#define paste(a,b) a##b],
+[ int xy = 1; return paste(x,y);],
+AC_DEFINE(TOKEN_PASTE(x,y),[x##y])   AC_MSG_RESULT(ANSI),
+AC_DEFINE(TOKEN_PASTE(x,y),[x/**/y]) AC_MSG_RESULT(KnR1))
+
 AC_MSG_CHECKING(for variable length prototypes and stdarg.h)
 AC_CACHE_VAL(rb_cv_stdarg,
   [AC_TRY_COMPILE([
@@ -362,7 +369,7 @@
     case "$host_os" in
 	hpux*)		CCDLFLAGS='+z';;
 	solaris*|irix*)	CCDLFLAGS='-K pic' ;;
-	sunos*)		CCDLFLAGS='-pic' ;;
+	sunos*)		CCDLFLAGS='-PIC' ;;
 	esix*|uxpds*)   CCDLFLAGS='-Kpic' ;;
 	*)		CCDLFLAGS='' ;;
     esac
diff -rud ../ruby-1.3.1-990201/pack.c ./pack.c
--- ../ruby-1.3.1-990201/pack.c	Tue Jan 26 19:08:13 1999
+++ ./pack.c	Tue Feb  2 15:20:19 1999
@@ -14,11 +14,129 @@
 #include <sys/types.h>
 #include <ctype.h>
 
+#define define_swapx(x, xtype)		\
+static xtype				\
+TAKEN_PASTE(swap,x)(z)			\
+    xtype z;				\
+{					\
+    xtype r;				\
+    xtype *zp;				\
+    unsigned char *s, *t;		\
+    int i;				\
+					\
+    zp = (xtype *)malloc(sizeof(xtype));\
+    *zp = z;				\
+    s = (char *)zp;			\
+    t = (char *)malloc(sizeof(xtype));	\
+    for (i=0 ; i<sizeof(xtype); i++) {	\
+	t[sizeof(xtype)-i-1] = s[i];	\
+    }					\
+    r = *(xtype *)t;			\
+    free(t);				\
+    free(zp);				\
+    return r;				\
+}
+
+#if SIZEOF_SHORT == 2
 #define swaps(x)	((((x)&0xFF)<<8) + (((x)>>8)&0xFF))
+#else
+#if SIZEOF_SHORT == 4
+#define swaps(x)	((((x)&0xFF)<<24)	\
+			+(((x)>>24)&0xFF)	\
+			+(((x)&0x0000FF00)<<8)	\
+			+(((x)&0x00FF0000)>>8)	)
+#else
+define_swapx(s,short);
+#endif
+#endif
+
+#if SIZEOF_LONG == 4
 #define swapl(x)	((((x)&0xFF)<<24)	\
 			+(((x)>>24)&0xFF)	\
 			+(((x)&0x0000FF00)<<8)	\
 			+(((x)&0x00FF0000)>>8)	)
+#else
+#if SIZEOF_LONG == 8
+#define swapl(x)        ((((x)&0x00000000000000FF)<<56)	\
+			+(((x)&0xFF00000000000000)>>56)	\
+			+(((x)&0x000000000000FF00)<<40)	\
+			+(((x)&0x00FF000000000000)>>40)	\
+			+(((x)&0x0000000000FF0000)<<24)	\
+			+(((x)&0x0000FF0000000000)>>24)	\
+			+(((x)&0x00000000FF000000)<<8)	\
+			+(((x)&0x000000FF00000000)>>8)
+#else
+
+define_swapx(l,long);
+#endif
+#endif
+
+#if SIZEOF_FLOAT == 4
+#if SIZEOF_LONG == 4	/* SIZEOF_FLOAT == 4 == SIZEOF_LONG */
+#define swapf(x)	swapl(x)
+#define FLOAT_SWAPPER	unsigned long
+#else
+#if SIZEOF_SHORT == 4	/* SIZEOF_FLOAT == 4 == SIZEOF_SHORT */
+#define swapf(x)	swaps(x)
+#define FLOAT_SWAPPER	unsigned short
+#else	/* SIZEOF_FLOAT == 4 but undivide by known size of int */
+define_swapx(f,float);
+#endif	/* #if SIZEOF_SHORT == 4 */
+#endif	/* #if SIZEOF_LONG == 4 */
+#else	/* SIZEOF_FLOAT != 4 */
+define_swapx(f,float);
+#endif	/* #if SIZEOF_FLOAT == 4 */
+
+#if SIZEOF_DOUBLE == 8
+#if SIZEOF_LONG == 8	/* SIZEOF_DOUBLE == 8 == SIZEOF_LONG */
+#define swapd(x)	swapl(x)
+#define DOUBLE_SWAPPER	unsigned long
+#else
+#if SIZEOF_LONG == 4	/* SIZEOF_DOUBLE == 8 && 4 == SIZEOF_LONG */
+static double
+swapd(d)
+    const double d;
+{
+    double dtmp = d;
+    unsigned long utmp[2];
+    unsigned long utmp0;
+
+    utmp[0] = 0; utmp[1] = 0;
+    memcpy(utmp,&dtmp,sizeof(double));
+    utmp0 = utmp[0];
+    utmp[0] = swapl(utmp[1]);
+    utmp[1] = swapl(utmp0);
+    memcpy(&dtmp,utmp,sizeof(double));
+    return dtmp;
+}
+#else
+#if SIZEOF_SHORT == 4	/* SIZEOF_DOUBLE == 8 && 4 == SIZEOF_SHORT */
+static double
+swapd(d)
+    const double d;
+{
+    double dtmp = d;
+    unsigned short utmp[2];
+    unsigned short utmp0;
+
+    utmp[0] = 0; utmp[1] = 0;
+    memcpy(utmp,&dtmp,sizeof(double));
+    utmp0 = utmp[0];
+    utmp[0] = swaps(utmp[1]);
+    utmp[1] = swaps(utmp0);
+    memcpy(&dtmp,utmp,sizeof(double));
+    return dtmp;
+}
+#else	/* SIZEOF_DOUBLE == 8 but undivied by known size of int */
+define_swapx(d, double);
+#endif	/* #if SIZEOF_SHORT == 4 */
+#endif	/* #if SIZEOF_LONG == 4 */
+#endif	/* #if SIZEOF_LONG == 8 */
+#else	/* SIZEOF_DOUBLE != 8 */
+define_swapx(d, double);
+#endif	/* #if SIZEOF_DPOUBLE == 8 */
+
+#undef define_swapx
 
 #ifdef DYNAMIC_ENDIAN
 #ifdef ntohs
@@ -42,12 +160,20 @@
 
 #define ntohs(x) (endian()?(x):swaps(x))
 #define ntohl(x) (endian()?(x):swapl(x))
+#define ntohf(x) (endian()?(x):swapf(x))
+#define ntohd(x) (endian()?(x):swapd(x))
 #define htons(x) (endian()?(x):swaps(x))
 #define htonl(x) (endian()?(x):swapl(x))
+#define htonf(x) (endian()?(x):swapf(x))
+#define htond(x) (endian()?(x):swapd(x))
 #define htovs(x) (endian()?swaps(x):(x))
 #define htovl(x) (endian()?swapl(x):(x))
+#define htovf(x) (endian()?swapf(x):(x))
+#define htovd(x) (endian()?swapd(x):(x))
 #define vtohs(x) (endian()?swaps(x):(x))
 #define vtohl(x) (endian()?swapl(x):(x))
+#define vtohf(x) (endian()?swapf(x):(x))
+#define vtohd(x) (endian()?swapd(x):(x))
 #else
 #ifdef WORDS_BIGENDIAN
 #ifndef ntohs
@@ -56,22 +182,94 @@
 #define htons(x) (x)
 #define htonl(x) (x)
 #endif
+#define ntohf(x) (x)
+#define ntohd(x) (x)
+#define htonf(x) (x)
+#define htond(x) (x)
 #define htovs(x) swaps(x)
 #define htovl(x) swapl(x)
+#define htovf(x) swapf(x)
+#define htovd(x) swapd(x)
 #define vtohs(x) swaps(x)
 #define vtohl(x) swapl(x)
+#define vtohf(x) swapf(x)
+#define vtohd(x) swapd(x)
 #else /* LITTLE ENDIAN */
 #ifndef ntohs
+#undef ntohs
+#undef ntohl
+#undef htons
+#undef htonl
 #define ntohs(x) swaps(x)
 #define ntohl(x) swapl(x)
 #define htons(x) swaps(x)
 #define htonl(x) swapl(x)
 #endif
+#define ntohf(x) swapf(x)
+#define ntohd(x) swapd(x)
+#define htonf(x) swapf(x)
+#define htond(x) swapd(x)
 #define htovs(x) (x)
 #define htovl(x) (x)
+#define htovf(x) (x)
+#define htovd(x) (x)
 #define vtohs(x) (x)
 #define vtohl(x) (x)
+#define vtohf(x) (x)
+#define vtohd(x) (x)
+#endif
+#endif
+
+#ifdef FLOAT_SWAPPER
+#define FLOAT_CONVWITH(y)	FLOAT_SWAPPER y;
+#define HTONF(x,y)	(memcpy(&y,&x,sizeof(float)),	\
+			 x = htonf((FLOAT_SWAPPER)y),	\
+			 memcpy(&x,&y,sizeof(float)),	\
+			 x)
+#define HTOVF(x,y)	(memcpy(&y,&x,sizeof(float)),	\
+			 y = htovf((FLOAT_SWAPPER)y),	\
+			 memcpy(&x,&y,sizeof(float)),	\
+			 x)
+#define NTOHF(x,y)	(memcpy(&y,&x,sizeof(float)),	\
+			 y = ntohf((FLOAT_SWAPPER)y),	\
+			 memcpy(&x,&y,sizeof(float)),	\
+			 x)
+#define VTOHF(x,y)	(memcpy(&y,&x,sizeof(float)),	\
+			 y = vtohf((FLOAT_SWAPPER)y),	\
+			 memcpy(&x,&y,sizeof(float)),	\
+			 x)
+#else
+#define FLOAT_CONVWITH(y)
+#define HTONF(x,y)	htonf(x)
+#define HTOVF(x,y)	htovf(x)
+#define NTOHF(x,y)	ntohf(x)
+#define VTOHF(x,y)	vtohf(x)
 #endif
+
+#ifdef DOUBLE_SWAPPER
+#define DOUBLE_CONVWITH(y)	DOUBLE_SWAPPER y;
+#define HTOND(x,y)	(memcpy(&y,&x,sizeof(double)),	\
+			 x = htond((DOUBLE_SWAPPER)y),	\
+			 memcpy(&x,&y,sizeof(double)),	\
+			 x)
+#define HTOVD(x,y)	(memcpy(&y,&x,sizeof(double)),	\
+			 y = htovd((DOUBLE_SWAPPER)y),	\
+			 memcpy(&x,&y,sizeof(double)),	\
+			 x)
+#define NTOHD(x,y)	(memcpy(&y,&x,sizeof(double)),	\
+			 y = ntohd((DOUBLE_SWAPPER)y),	\
+			 memcpy(&x,&y,sizeof(double)),	\
+			 x)
+#define VTOHD(x,y)	(memcpy(&y,&x,sizeof(double)),	\
+			 y = vtohd((DOUBLE_SWAPPER)y),	\
+			 memcpy(&x,&y,sizeof(double)),	\
+			 x)
+#else
+#define DOUBLE_CONVWITH(y)
+#define HTOND(x,y)	htond(x)
+#define HTOVD(x,y)	htovd(x)
+#define NTOHD(x,y)	ntohd(x)
+#define VTOHD(x,y)	vtohd(x)
 #endif
 
 static char *toofew = "too few arguments";
@@ -399,6 +597,48 @@
 	    }
 	    break;
 
+	  case 'e':
+	    while (len-- > 0) {
+		float f;
+		FLOAT_CONVWITH(ftmp);
+
+		from = NEXTFROM;
+		switch (TYPE(from)) {
+		  case T_FLOAT:
+		    f = RFLOAT(from)->value;
+		    break;
+		  case T_STRING:
+		    f = atof(RSTRING(from)->ptr);
+		  default:
+		    f = (float)NUM2INT(from);
+		    break;
+		}
+		f = HTOVF(f,ftmp);
+		rb_str_cat(res, (char*)&f, sizeof(float));
+	    }
+	    break;
+
+	  case 'E':
+	    while (len-- > 0) {
+		double d;
+		DOUBLE_CONVWITH(dtmp);
+
+		from = NEXTFROM;
+		switch (TYPE(from)) {
+		  case T_FLOAT:
+		    d = RFLOAT(from)->value;
+		    break;
+		  case T_STRING:
+		    d = atof(RSTRING(from)->ptr);
+		  default:
+		    d = (double)NUM2INT(from);
+		    break;
+		}
+		d = HTOVD(d,dtmp);
+		rb_str_cat(res, (char*)&d, sizeof(double));
+	    }
+	    break;
+
 	  case 'd':
 	  case 'D':
 	    while (len-- > 0) {
@@ -419,6 +659,48 @@
 	    }
 	    break;
 
+	  case 'g':
+	    while (len-- > 0) {
+		float f;
+		FLOAT_CONVWITH(ftmp);
+
+		from = NEXTFROM;
+		switch (TYPE(from)) {
+		  case T_FLOAT:
+		    f = RFLOAT(from)->value;
+		    break;
+		  case T_STRING:
+		    f = atof(RSTRING(from)->ptr);
+		  default:
+		    f = (float)NUM2INT(from);
+		    break;
+		}
+		f = HTONF(f,ftmp);
+		rb_str_cat(res, (char*)&f, sizeof(float));
+	    }
+	    break;
+
+	  case 'G':
+	    while (len-- > 0) {
+		double d;
+		DOUBLE_CONVWITH(dtmp);
+
+		from = NEXTFROM;
+		switch (TYPE(from)) {
+		  case T_FLOAT:
+		    d = RFLOAT(from)->value;
+		    break;
+		  case T_STRING:
+		    d = atof(RSTRING(from)->ptr);
+		  default:
+		    d = (double)NUM2INT(from);
+		    break;
+		}
+		d = HTOND(d,dtmp);
+		rb_str_cat(res, (char*)&d, sizeof(double));
+	    }
+	    break;
+
 	  case 'x':
 	  grow:
 	    while (len >= 10) {
@@ -558,7 +840,7 @@
 {
     char buff[1024];
     int i = 0, n = 0, prev = EOF;
-    unsigned char *s = RSTRING(from)->ptr;
+    unsigned char *s = (unsigned char*)RSTRING(from)->ptr;
     unsigned char *send = s + RSTRING(from)->len;
 
     while (s < send) {
@@ -911,6 +1193,34 @@
 	    }
 	    break;
 
+	  case 'e':
+	    if (len >= (send - s) / sizeof(float))
+		len = (send - s) / sizeof(float);
+	    while (len-- > 0) {
+	        float tmp;
+		FLOAT_CONVWITH(ftmp);
+
+		memcpy(&tmp, s, sizeof(float));
+		s += sizeof(float);
+		tmp = VTOHF(tmp,ftmp);
+		rb_ary_push(ary, rb_float_new((double)tmp));
+	    }
+	    break;
+	    
+	  case 'E':
+	    if (len >= (send - s) / sizeof(double))
+		len = (send - s) / sizeof(double);
+	    while (len-- > 0) {
+		double tmp;
+		DOUBLE_CONVWITH(dtmp);
+
+		memcpy(&tmp, s, sizeof(double));
+		s += sizeof(double);
+		tmp = VTOHD(tmp,dtmp);
+		rb_ary_push(ary, rb_float_new(tmp));
+	    }
+	    break;
+	    
 	  case 'D':
 	  case 'd':
 	    if (len >= (send - s) / sizeof(double))
@@ -923,6 +1233,34 @@
 	    }
 	    break;
 
+	  case 'g':
+	    if (len >= (send - s) / sizeof(float))
+		len = (send - s) / sizeof(float);
+	    while (len-- > 0) {
+	        float tmp;
+		FLOAT_CONVWITH(ftmp;)
+
+		memcpy(&tmp, s, sizeof(float));
+		s += sizeof(float);
+		tmp = NTOHF(tmp,ftmp);
+		rb_ary_push(ary, rb_float_new((double)tmp));
+	    }
+	    break;
+	    
+	  case 'G':
+	    if (len >= (send - s) / sizeof(double))
+		len = (send - s) / sizeof(double);
+	    while (len-- > 0) {
+		double tmp;
+		DOUBLE_CONVWITH(dtmp);
+
+		memcpy(&tmp, s, sizeof(double));
+		s += sizeof(double);
+		tmp = NTOHD(tmp,dtmp);
+		rb_ary_push(ary, rb_float_new(tmp));
+	    }
+	    break;
+	    
 	  case 'u':
 	    {
 		VALUE str = rb_str_new(0, (send - s)*3/4);

In This Thread