Forum: Ruby-dev strtod in 1.8.4 stable snapshot

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0e4f9eafd32336bec898fb6adf93e8f2?d=identicon&s=25 Shin-ichiro HARA (Guest)
on 2006-05-07 06:02
(Received via mailing list)
¸¶¤Ç¤¹¡£

[ruby-dev:28609]¤Ç1.8.4 stable snapshot¤Îsample/test.rb
¤Ç¥¨¥é¡¼¤¬½Ð¤ë¤È¸À¤¤¤Þ¤·¤¬¡¢¤Þ¤À¼ã´³»Ä¤Ã¤Æ¤¤¤Þ¤¹(1207¹ÔÌÜ)¡£

1.9.0 ¤Îutil.c¤Îstrtod¤ò¤½¤Î¤Þ¤Þ»ý¤Ã¤ÆÍè¤ë¤ï¤±¤Ë¤Ï¤¤¤«¤Ê¤¤¤ó¤Ç¤·¤ç¤¦¤«¡£
0ec4920185b657a03edf01fff96b4e9b?d=identicon&s=25 Yukihiro Matsumoto (Guest)
on 2006-05-07 09:07
(Received via mailing list)
$B$^$D$b$H(B $B$f$-$R$m$G$9(B

In message "Re: [ruby-dev:28619] strtod in 1.8.4 stable snapshot"
    on Sun, 7 May 2006 13:01:33 +0900, Shin-ichiro HARA
<sinara@blade.nagaokaut.ac.jp> writes:

|[ruby-dev:28609]$B$G(B1.8.4 stable snapshot$B$N(Bsample/test.rb
|$B$G%(%i!<$,=P$k$H8@$$$^$7$,!"$^$@<c43;D$C$F$$$^$9(B(1207$B9TL\(B)$B!#(B

$B;d$N<j85$G$O=P$J$$$s$G$9$h$M$(!#$J$K$,0c$&$s$@$m$&!#(B

|1.9.0 
$B$N(Butil.c$B$N(Bstrtod$B$r$=$N$^$^;}$C$FMh$k$o$1$K$O$$$+$J$$$s$G$7$g$&$+!#(B

$B%3!<%I$O$=$N$^$^;}$C$F$-$F$"$C$F!"0c$$$O$J$$$O$:$G$9$,!#(B
$B$"!"(BMDMINEXPT$B$J$I$NCM$,0c$&$+!#(B
0e4f9eafd32336bec898fb6adf93e8f2?d=identicon&s=25 Shin-ichiro HARA (Guest)
on 2006-05-07 09:53
(Received via mailing list)
$B86$G$9!#(B

>$B$^$D$b$H(B $B$f$-$R$m$G$9(B

$BIbF0>.?tE@?t$N<v$$!)(B:-)

>|1.9.0 
$B$N(Butil.c$B$N(Bstrtod$B$r$=$N$^$^;}$C$FMh$k$o$1$K$O$$$+$J$$$s$G$7$g$&$+!#(B
>
>$B%3!<%I$O$=$N$^$^;}$C$F$-$F$"$C$F!"0c$$$O$J$$$O$:$G$9$,!#(B

$B$"$l!":#F|$N(Bsnapshot$B$G0c$$$,$"$j$^$9$h!#(B1.9.0$B$N(Bruby_strtod$B$G$O(BpowersOf10
$B$H$$$&G[Ns$r;H$C$F$$$k$1$I!"(B1.8.4$B$N$G$O$J$$$G$9!#(B

$B$A$J$_$K(Bgcc
3.4.4(cygwin)$B$G$O!"(Btest$B$O(Bsucceeded$B$G$7$?!#(B
$B!t%(%i!<$,=P$?$N$O(Bgcc 3.3.5(Debian sarge) $B$G$9!#(B
0ec4920185b657a03edf01fff96b4e9b?d=identicon&s=25 Yukihiro Matsumoto (Guest)
on 2006-05-07 10:59
(Received via mailing list)
$B$^$D$b$H(B $B$f$-$R$m$G$9(B

In message "Re: [ruby-dev:28621] Re: strtod in 1.8.4 stable snapshot"
    on Sun, 7 May 2006 16:53:11 +0900, Shin-ichiro HARA
<sinara@blade.nagaokaut.ac.jp> writes:

|>|1.9.0 
$B$N(Butil.c$B$N(Bstrtod$B$r$=$N$^$^;}$C$FMh$k$o$1$K$O$$$+$J$$$s$G$7$g$&$+!#(B
|>
|>$B%3!<%I$O$=$N$^$^;}$C$F$-$F$"$C$F!"0c$$$O$J$$$O$:$G$9$,!#(B
|
|$B$"$l!":#F|$N(Bsnapshot$B$G0c$$$,$"$j$^$9$h!#(B1.9.0$B$N(Bruby_strtod$B$G$O(BpowersOf10
|$B$H$$$&G[Ns$r;H$C$F$$$k$1$I!"(B1.8.4$B$N$G$O$J$$$G$9!#(B

$B$"!"$=$&$+!#;d$N(B1.9$B$O<j$,F~$C$F$$$F!"$^$@%3%_%C%H$7$F$$$J$$(B
$B$N$G$7$?!#(BpowersOf10$B$r;H$C$?$b$N$O;H$C$F$$$J$$$b$N$h$j$bAa$/(B
$BL58BBg$KH/;6$9$k$s$G:NMQ$7$?$/$J$$$G$9!#$@$+$i=$@5$9$k$J$i:#(B
1.8.4 $B$K$"$k$b$N$r%Y!<%9$K9M$($?$$$G$9!#(B
8cbb39dadafaf2287a83a13ee4981ec9?d=identicon&s=25 U.Nakamura (Guest)
on 2006-05-11 09:05
(Received via mailing list)
$B$3$s$K$A$O!"$J$+$`$i(B($B$&(B)$B$G$9!#(B

In message "[ruby-dev:28622] Re: strtod in 1.8.4 stable snapshot"
    on May.07,2006 17:58:54, <matz@ruby-lang.org> wrote:
| $B$"!"$=$&$+!#;d$N(B1.9$B$O<j$,F~$C$F$$$F!"$^$@%3%_%C%H$7$F$$$J$$(B
| $B$N$G$7$?!#(BpowersOf10$B$r;H$C$?$b$N$O;H$C$F$$$J$$$b$N$h$j$bAa$/(B
| $BL58BBg$KH/;6$9$k$s$G:NMQ$7$?$/$J$$$G$9!#$@$+$i=$@5$9$k$J$i:#(B
| 1.8.4 $B$K$"$k$b$N$r%Y!<%9$K9M$($?$$$G$9!#(B

$B$G!"(B1.8$B$N(Brb_strtod()$B$J$s$G$9$,!":#(B810$B9TL\$K$"$k(B

	errno = ERANGE;

$B$,DI2C$5$l$?$?$a$K!"(B

  % ruby18 -e 'p ".".to_f'
  -e:1: warning: Float . out of range
  0.0

$B$H$$$&!"=>Mh=P$J$+$C$?7Y9p$,=P$k$h$&$K$J$C$F$$$^$9!#(B
$B$3$l$C$F(B out of range $B$+(B?
$B$H$+;W$o$J$$$G$b$J$$$s$G$9$,!"$3$N(B
$B$^$^9T$-$^$9$+(B?


$B$=$l$G$O!#(B
8cbb39dadafaf2287a83a13ee4981ec9?d=identicon&s=25 U.Nakamura (Guest)
on 2006-05-11 09:17
(Received via mailing list)
$B$3$s$K$A$O!"$J$+$`$i(B($B$&(B)$B$G$9!#(B
$B$A$g$C$HD{@5$HDI5-!#(B

In message "[ruby-dev:28629] Re: strtod in 1.8.4 stable snapshot"
    on May.11,2006 16:03:41, <usa@garbagecollect.jp> wrote:
| $B$G!"(B1.8$B$N(Brb_strtod()$B$J$s$G$9$,!":#(B810$B9TL\$K$"$k(B

$B!V$G!"(B1.8$B$N(Bruby_strtod()$B$J$s$G$9$,!":#!"(Butil.c$B$N(B810$B9TL\$K$"$k!W(B



$B$$$m$$$mCQ$:$+$7$$!#(B


$B$=$l$G$O!#(B
0ec4920185b657a03edf01fff96b4e9b?d=identicon&s=25 Yukihiro Matsumoto (Guest)
on 2006-05-11 11:16
(Received via mailing list)
$B$^$D$b$H(B $B$f$-$R$m$G$9(B

In message "Re: [ruby-dev:28629] Re: strtod in 1.8.4 stable snapshot"
    on Thu, 11 May 2006 16:03:41 +0900, "U.Nakamura"
<usa@garbagecollect.jp> writes:

|$B$G!"(B1.8$B$N(Brb_strtod()$B$J$s$G$9$,!":#(B810$B9TL\$K$"$k(B
|
|	errno = ERANGE;
|
|$B$,DI2C$5$l$?$?$a$K!"(B
|
|  % ruby18 -e 'p ".".to_f'
|  -e:1: warning: Float . out of range
|  0.0
|
|$B$H$$$&!"=>Mh=P$J$+$C$?7Y9p$,=P$k$h$&$K$J$C$F$$$^$9!#(B
|$B$3$l$C$F(B out of range $B$+(B? $B$H$+;W$o$J$$$G$b$J$$$s$G$9$,!"$3$N(B
|$B$^$^9T$-$^$9$+(B?

$B$&!<$`!"$3$l$O5,3JE*$K4V0c$$$G$9$M!#D>$7$^$9!#(B
This topic is locked and can not be replied to.