[Jprogramming] A (strange) q: error
Tom Arneson
tom at tomarneson.com
Mon Jan 3 21:39:13 HKT 2011
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: programming-bounces at jsoftware.com
[mailto:programming-bounces at jsoftware.com] 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
More information about the Programming
mailing list