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?


-- 
Met vriendelijke groet,
=@@i

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to