groff
[Top][All Lists]
Advanced

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

Re: [PATCH v2] src/: ceil_prime(): Add function to get the lowest prime


From: G. Branden Robinson
Subject: Re: [PATCH v2] src/: ceil_prime(): Add function to get the lowest prime not smaller than n
Date: Wed, 13 Mar 2024 05:46:38 -0500

Forgot to attach my working copy, of course.

At 2024-03-13T05:45:12-0500, G. Branden Robinson wrote:
> Hi Alex,
> 
> At 2024-03-13T11:21:55+0100, Alejandro Colomar wrote:
> > And use it where the same logic was being open-coded.
> > 
> > While at it, fix the logic, which was incorrect in the open-coded call
> > sites, since for an input of 1, it produced 3, but the first prime is 2.
> 
> Are you sure?  That sounds like the bug I already fixed (but have not
> yet pushed).
> 
> My working copy, complete with the following debugging output, is
> attached.

Regards,
Branden

Attachment: indxbib.cpp
Description: Text Data

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]