Yes, looking more carefully through the StandardLib (for the first time?) I 
also found `gcdx` and `invmod`.

> *Can you elaborate on what you mean by "define my own version numbering"?*

In the list of Julia packages I see many version numbers "0.0.0", something 
I feel is unfortunate, no version should be just zero. E.g., I would like 
to have a version number like "0.1.0" when one of my packages appears the 
first time on this list. This could express my feeling about how mature 
this package is.

> *I bet there's some clever number theory work out there on efficiently 
finding the next largest prime.*
> *It would be a fun research project to figure out what the state of the 
art approach is.*

I would not bet on this. Trying to remember my classes on number theory, I 
guess there is only a probability measure for the next prime to emerge 
within a certain distance.

--Hans Werner

On Wednesday, January 8, 2014 5:59:11 PM UTC+1, Stefan Karpinski wrote:
>
> Can you elaborate on what you mean by "define my own version numbering"?
>
> The Base.gcdx function does return those numbers:
>
> julia> g, m, n = gcdx(18,24)
> (6,-1,1)
>
> julia> 18m + 24n
> 6
>
>
> I bet there's some clever number theory work out there on efficiently 
> finding the next largest prime. It would be a fun research project to 
> figure out what the state of the art approach is.
>
>

Reply via email to