Bill Allombert on Wed, 24 Jan 2024 12:07:30 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Big GOTCHAs WITH forprime()


On Wed, Jan 24, 2024 at 01:08:38AM -0800, Ilya Zakharevich wrote:
> Anyway — unless you want (the dubious fun of) running the binary
> search yourself — you missed the second part of the bug report
>    https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2520#10
> which lists the command which fails immediately on my system.

Indeed, but so far nobody else has been able to reproduce this.

On linux:

[190333000000000000.00000000000000000000,190334500000000000.00000000000000000000,10354,97]
[190333000000000000.00000000000000000000,190334125000000000.00000000000000000000,10529,96]
[190333000000000000.00000000000000000000,190333843750000000.00000000000000000000,10500,95]
[190333000000000000.00000000000000000000,190333632812500000.00000000000000000000,10404,94]
[190333000000000000.00000000000000000000,190333474609375000.00000000000000000000,10284,93]
[190333000000000000.00000000000000000000,190333355957031250.00000000000000000000,10262,92]
[190333000000000000.00000000000000000000,190333266967773437.50000000000000000000,10097,91]
[190333000000000000.00000000000000000000,190333200225830078.12500000000000000000,10070,90]

On linux under valgrind

[190334500000000000.00000000000000000000, 190335000000000000.00000000000000000000, 95698, 93]
[190334875000000000.00000000000000000000, 190335000000000000.00000000000000000000, 95866, 88]
[190334968750000000.00000000000000000000, 190335000000000000.00000000000000000000, 95938, 83]

With the Windows binary under wine on linux:

[190333000000000000.00000000000000000000, 190334500000000000.00000000000000000000, 18426, 97]
[190333000000000000.00000000000000000000, 190334125000000000.00000000000000000000, 18632, 96]
[190333000000000000.00000000000000000000, 190333843750000000.00000000000000000000, 18695, 95]
[190333000000000000.00000000000000000000, 190333632812500000.00000000000000000000, 18403, 94]

Idem under Windows
[190333000000000000.00000000000000000000, 190334500000000000.00000000000000000000, 15859, 97]

Cheers,
Bill