Hi there,
Just playing around: Pike v7.5 release 3 running Hilfe v3.5 (Incremental Pike Frontend)
(float)"0.1e99";
Segmentation fault
Same for 7.4 (CVS versions two days old). And another one: Pike v7.5 release 3 running Hilfe v3.5 (Incremental Pike Frontend)
float x; x = 1e99;
Segmentation fault
Seems that the problem is related to Hilfe - from file it prints value as expected, no segfaults.
Regards, /Al
It is not a general problem. What platform are you on?
Pike v7.5 release 3 running Hilfe v3.5 (Incremental Pike Frontend)
(float)"0.1e99";
(1) Result: inf
float x; x = 1e99;
(2) Result: inf
/ Martin Nilsson (har bott i google)
Previous text:
2003-02-26 03:08: Subject: Floating point (conversion) bug (affected: v7.4 & v7.5; may be Hilfe only)
Hi there,
Just playing around:
Pike v7.5 release 3 running Hilfe v3.5 (Incremental Pike Frontend)
(float)"0.1e99";
Segmentation fault
Same for 7.4 (CVS versions two days old). And another one:
Pike v7.5 release 3 running Hilfe v3.5 (Incremental Pike Frontend)
float x; x = 1e99;
Segmentation fault
Seems that the problem is related to Hilfe - from file it prints value as expected, no segfaults.
Regards, /Al
/ Brevbäraren
Works fine for me using Slackware on my PPro.
/ Marcus Agehall (Trådlös)
Previous text:
2003-02-26 03:41: Subject: Re: Floating point (conversion) bug (affected: v7.4 & v7.5; may be Hilfe only)
On Wed, Feb 26, 2003 at 03:15:01AM +0100, Martin Nilsson (har bott i google) @ Pike (-) developers forum wrote:
It is not a general problem. What platform are you on?
Slackware Linux, i386 (P3 CPU), glibc-2.2.
Regards, /Al
/ Brevbäraren
It's the old sprintf bug.
| > float x=1e99; | > 1e99; | zsh: segmentation fault pike
/ Mirar
Previous text:
2003-02-26 03:12: Subject: Floating point (conversion) bug (affected: v7.4 & v7.5; may be Hilfe only)
It is not a general problem. What platform are you on?
Pike v7.5 release 3 running Hilfe v3.5 (Incremental Pike Frontend)
(float)"0.1e99";
(1) Result: inf
float x; x = 1e99;
(2) Result: inf
/ Martin Nilsson (har bott i google)
pike-devel@lists.lysator.liu.se