Talk:Legendre prime counting function: Difference between revisions

Line 54:
 
: I think you'll find that the segmentation fault is the lack of precision in converting to a 32-bit index; in both V and C/C++ one can index by 64-bit integers rather than by 32-bit ones and converting the that will fix the segmentation problem. I've fixed the V version and will leave it up to you to do your C and/or C++ versions... --[[User:GordonBGood|GordonBGood]] ([[User talk:GordonBGood|talk]]) 04:16, 11 November 2022 (UTC)
 
:: BTW, thanks for "twigging" me on this issue leading to the resolution of both of the problems of the incorrect results and the segmentation faults for higher ranges. --[[User:GordonBGood|GordonBGood]] ([[User talk:GordonBGood|talk]]) 06:37, 11 November 2022 (UTC)
474

edits