I ran a test using the beta :
9!:14''
j701/beta/2010-11-24/22:45
IF64
1
]G=. */ 'P Q'=. 4&p:^:(<2) 4 p: 10^14
10000000000009800000000002077
3!:0 G
64
q: G
100000000000031 100000000000067
I get the same results with J604_64:
9!:14''
j602/2008-03-03/16:45
IF64
1
]G=. */ 'P Q'=. 4&p:^:(<2) 4 p: 10^14
10000000000009800000000002077
3!:0 G
64
q: G
100000000000031 100000000000067
--
On 1/3/2011 9:09, Aai wrote:
> Yes, but you have to use this as an ext. prec. number
>
> 10000000000009800000000002077x
>
>
> Hallo Tom Arneson, je schreef op 03-01-11 14:39:
>> I tried the following in J602
>>
>> q: 10000000000009800000000002077
>> 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
>> 2 2 2 2 3 59 313969 40914773
>>
>> ]G=. */ 'P Q'=. 4&p:^:(<2) 4 p: 10x^14
>> 10000000000009800000000002077
>> q: G
>> |nonce error
>> | q:G
>>
>> The operation on G took a long time before the nonce error return, but the
>> operation on the number pasted from Aai's message seemed to execute in an
>> instant.
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Aai
>> Sent: Monday, January 03, 2011 01:55
>> To: Programming forum
>> Subject: [Jprogramming] A (strange) q: error
>>
>> Comparing timings for q: and a elliptic curve method routine.
>>
>>
>> A 'large' composite number:
>>
>> ]G=. */ 'P Q'=. 4&p:^:(<2) 4 p: 10x^14
>> 10000000000009800000000002077
>>
>> Trying to factorize it with q: I got:
>>
>> ts 'q: G'
>> |nonce error: ts
>> | q:G
>>
>>
>> Using
>> 9!:14''
>> j701/beta/2010-11-24/22:45
>>
>> Linux; 32 bit
>>
>>
>> Same error with J602
>> Any idea?
>>
>>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm