M
Masayoshi Takahashi
Hello all,
This is a summary of ruby-dev ML in these days.
[ruby-dev:23704] [mswin32] representation of NaN, Inf in printf
Katonbo reported strange representations of NaN and Inf
in printf of mswin32 Ruby.
C:\tmp>ruby -ve "(0..6).each {|i| printf(\"%.*f\n\",i, 0.0/0.0)}"
ruby 1.8.1 (2003-12-25) [i386-mswin32]
-1
-1.$
-1.#J
-1.#IO
-1.#IND
-1.#IND0
-1.#IND00
According to Microsoft, It's a specification of Runtime library:
<http://msdn.microsoft.com/library/en-us/vclib/html/_crt_precision_specification.asp>
Katonbo made a patch for this. U.Nakamura brushed up
his patch and commited it with Matz's advice.
Nakamura pointed out that the string "nan" and "inf" are
used as NaN and Inf in some environments. His patch
forced to use "NaN" and "Inf". He needs comments
about this change.
[ruby-dev:23746] Anonymous CVS service restart
As reported in [ruby-talk:104312], Anonymous CVS service
was restarted.
Shugo Maeda and ruby-lang.org administrators' group have
made efforts to recovery the systems and the services of
ruby-lang.org. Now they are writing report of the trouble
and translating it into English.
[ruby-dev:23762] Ruby 1.8.2 to be released.
Matz announced that he wanted to release Ruby 1.8.2.
in near future.
If we have no trouble, he will in the middle of July.
Any comments and bug reports on current snapshot are welcome.
Regards,
TAKAHASHI 'Maki' Masayoshi E-mail: (e-mail address removed)
This is a summary of ruby-dev ML in these days.
[ruby-dev:23704] [mswin32] representation of NaN, Inf in printf
Katonbo reported strange representations of NaN and Inf
in printf of mswin32 Ruby.
C:\tmp>ruby -ve "(0..6).each {|i| printf(\"%.*f\n\",i, 0.0/0.0)}"
ruby 1.8.1 (2003-12-25) [i386-mswin32]
-1
-1.$
-1.#J
-1.#IO
-1.#IND
-1.#IND0
-1.#IND00
According to Microsoft, It's a specification of Runtime library:
<http://msdn.microsoft.com/library/en-us/vclib/html/_crt_precision_specification.asp>
Katonbo made a patch for this. U.Nakamura brushed up
his patch and commited it with Matz's advice.
Nakamura pointed out that the string "nan" and "inf" are
used as NaN and Inf in some environments. His patch
forced to use "NaN" and "Inf". He needs comments
about this change.
[ruby-dev:23746] Anonymous CVS service restart
As reported in [ruby-talk:104312], Anonymous CVS service
was restarted.
Shugo Maeda and ruby-lang.org administrators' group have
made efforts to recovery the systems and the services of
ruby-lang.org. Now they are writing report of the trouble
and translating it into English.
[ruby-dev:23762] Ruby 1.8.2 to be released.
Matz announced that he wanted to release Ruby 1.8.2.
in near future.
If we have no trouble, he will in the middle of July.
Any comments and bug reports on current snapshot are welcome.
Regards,
TAKAHASHI 'Maki' Masayoshi E-mail: (e-mail address removed)