Only with unsuitable input. Just like all Gmp based functions. I thought your argument was that there shouldn't be any functions in Pike that can segfault no matter what their input. Should this only apply to Pi-calculating functions?
If you are not opposed to functions being able to segfault with unsuitable input, what's the problem with pi3?
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-03-21 22:06: Subject: Re: Do we have a floatingpoint bug?
You are entirely missing the point. A bit up in the thread it was discussed that a PI algorithm should be added. My only point is that hubbe's "pi3" shouldn't be the one because it triggers a crash in Gmp.
/ David Hedbor