Re: [perl6/specs] 5277fe: Add expmod and is-prime as built-ins in Int

2012-09-20 Thread Stephen Pollei
On Thu, Sep 20, 2012 at 9:22 PM, Martin Kealey wrote: > On Thu, 20 Sep 2012, Stephen Pollei wrote: > According to Wolfram, it's 75/25; so a positive result after 10 iterations > leaves about a one-in-a-million chance of being composite (more precisely, > one in 1048576). I'd believe wolfram over

Re: [perl6/specs] 5277fe: Add expmod and is-prime as built-ins in Int

2012-09-20 Thread Martin Kealey
On Thu, 20 Sep 2012, Stephen Pollei wrote: > If it says it might be prime it's > about a 50% 50% split if it's correct. According to Wolfram, it's 75/25; so a positive result after 10 iterations leaves about a one-in-a-million chance of being composite (more precisely, one in 1048576). > multi me

Re: CFOs not aligned with Recruiting

2012-09-20 Thread Darren Duncan
So I guess we have a rare failure of a spam filter. -- Darren Duncan

CFOs not aligned with Recruiting

2012-09-20 Thread Staffing.org - Research Update
[1]Staffing.org - Weekly Research Update [2]Home|[3]Store|[4]Products & Services|[5]Library |[6]About Us CFOS NOT ALIGNED WITH MARKETING Sept 20 [7]What is your staffing budget for 2012? More or less than last year? What are you planning to ask for in 2013 and why? S

Re: [perl6/specs] 5277fe: Add expmod and is-prime as built-ins in Int

2012-09-20 Thread Stephen Pollei
On Thu, Sep 20, 2012 at 11:36 AM, Martin D Kealey wrote: > On Wed, 19 Sep 2012, GitHub wrote: >> Log Message: >> --- >> Add expmod and is-prime as built-ins in Int > >> +Returns True if C<$x> is known to be a prime, or is likely to be a >> +prime based on a probabilistic Miller-Rabin

Re: state statements versus state expressions

2012-09-20 Thread Larry Wall
On Tue, Sep 11, 2012 at 10:25:03PM +0100, Nicholas Clark wrote: : On Tue, Sep 11, 2012 at 11:11:11PM +0200, Carl Mäsak wrote: : > Nicholas (>): : > > Where in the synopses (or other documents) does it explain why these two : > > are different? : > > : > > $ ./perl6 -e 'sub foo {state @a = (3, 4); s

[perl6/specs] 1c74b8: Assume Miller-Rabin certainty on composites

2012-09-20 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 1c74b86e60d011c047666dbf837acd2960d6e890 https://github.com/perl6/specs/commit/1c74b86e60d011c047666dbf837acd2960d6e890 Author: Larry Wall Date: 2012-09-20 (Thu, 20 Sep 2012) Changed paths: M S32-set

Re: [perl6/specs] 5277fe: Add expmod and is-prime as built-ins in Int

2012-09-20 Thread Martin D Kealey
On Wed, 19 Sep 2012, GitHub wrote: > Log Message: > --- > Add expmod and is-prime as built-ins in Int > +Returns True if C<$x> is known to be a prime, or is likely to be a > +prime based on a probabilistic Miller-Rabin test. (The optional > +argument tells how many times to iterate