in reply to XS optimization bug?

If you're using the same compiler and same optimization setting and same CPU architecture on both systems (e.g., gcc), then I'm surprised.

Otherwise, you could be tripping over differences in how optimizations are selected/performed. Or you might be having trouble with some common problems encountered with numerical methods: rounding error, loss of significance, error propagation or some other(s) I haven't heard about.

...roboticus

Replies are listed 'Best First'.
Re^2: XS optimization bug?
by syphilis (Archbishop) on Apr 10, 2009 at 13:37 UTC
    If you're using the same compiler and same optimization setting and same CPU architecture on both systems (e.g., gcc), then I'm surprised.

    Yes - my feeling, too. I did wonder whether perhaps the linux perls had been built with -Duselongdouble (it's certain that the Windows perls weren't). But that's not very likely, and I can't see how the optimisation level would play a part even if the linux perls *had* been built with -Duselongdouble.

    Still, I thought I'd mention this in the off-chance that it's relevant ....

    Cheers,
    Rob