mersenneforum.org  

Go Back   mersenneforum.org > Other Stuff > Forum Feedback

Closed Thread
 
Thread Tools
Old 2011-02-20, 00:12   #342
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

33·37 Posts
Default mu

sm'°°-'2
ar-|ecch!n°
( t!tle °f mus!c !t )

::
Attached Thumbnails
Click image for larger version

Name:	dbs.PNG
Views:	112
Size:	219.3 KB
ID:	6255  

Last fiddled with by cmd on 2011-02-20 at 00:25 Reason: we=r°(u)nd°'_venet!an° !t
cmd is offline  
Old 2011-02-20, 00:26   #343
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

20C016 Posts
Default

Quote:
Originally Posted by cmd View Post
sm'°°-'2
ar-|ecch!n°
( t!tle °f mus!c !t )

::
So even mathematicians can fail epically.
science_man_88 is offline  
Old 2011-02-20, 00:46   #344
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

33×37 Posts
Arrow link site

Quote:
Originally Posted by science_man_88 View Post
So even mathematicians can fail epically.
"being mathematical" label for human
pure mathematics is precise science ...
Who invented "math person"?

self-reference be dangerous

us (for example) non-mathematical ... that lie true ?

see here
cmd is offline  
Old 2011-02-20, 11:26   #345
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

3E716 Posts
Default

hi (say) 33

en
it

!t !t !t| -||_|rra
cmd is offline  
Old 2011-02-20, 11:40   #346
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

17478 Posts
Default

Our little curiosity,
who have achieved "www" Don
since he posted in Mersennemforum and that it does not say ( post 1 )
GIMPS power to know first ?



( where it was from 1999 to yesterday ... on another celestial body ? )

::

Last fiddled with by cmd on 2011-02-20 at 11:51 Reason: it "space|999"
cmd is offline  
Old 2011-02-20, 14:15   #347
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

33·37 Posts
Default

we like_u

Last fiddled with by cmd on 2011-02-20 at 14:39 Reason: \/\/e
cmd is offline  
Old 2011-02-26, 00:29   #348
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

838410 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I need some code that efficiently (on Intel this means relatively short chunk of code with no branches that are hard to predict) returns the index of a randomly selected set bit in a 64-bit value.

Psuedo code:

int64 t;

cnt = POPCNT (t)
i = random value between 0 and cnt
while (i--) use BSF to find a set bit, then clear that set bit
return BSF(t)

POPCNT is an Intel assembly code instruction to count the number of set bits in a register
BSF is bit-scan-forward, it returns the index of the first set bit in a register


Clever bit-twiddling suggestions are welcome!
Well if I knew how to get PARI's random function to return only integers ( I may have a way), you could use
Code:
i=random(#<vector>);return(<vector>[i])
but I doubt this is efficient. I'll see what else I can come up with in PARI or ASM(using my book).

Last fiddled with by science_man_88 on 2011-02-26 at 00:29
science_man_88 is offline  
Old 2011-02-28, 20:05   #349
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

33×37 Posts
Default

[360] prp

n

sm88?
cmd is offline  
Old 2011-02-28, 20:56   #350
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

33·37 Posts
Lightbulb

Quote:
Originally Posted by EdH View Post
The page on Trial Factoring has the following:

"The simplest approach is to already have available a supply of small prime numbers to use as trial divisors."

I would like to suggest a slight change, in that as it now reads, it could be interpreted as suggesting that only some of the smaller prime numbers are needed, when in fact, all primes up to the square root+1 are needed.

Suggestions/Comments?

Code:
##:::::::::::::::::: ##:
##:::::::::::::::::: ##:
##:::::::::::::::::: ##:
##:::::::::::::::::: ##:
'#######::::::'#######::
##.... ##::::'##.... ##:
##:::: ##:::: ##:::: ##:
##:::: ##:::: ##:::: ##:
##:::: ##:::: ##:::: ##:
##:::: ##:::: ##:::: ##:
 #######:::::. #######::
:.......:::::::.......::
::::::::::::::::::::::::
::::::::::::::::::::::::
'#######::::::'#######::
##.... ##::::'##.... ##:
##:::: ##:::: ##:::: ##:
##:::: ##:::: ##:::: ##:
##:::: ##:::: ##:::: ##:
##:::: ##:::: ##:::: ##:
 #######:::::. #######::
##::::::::::::::::::'##:
##:::::::::::::::::: ##:
##:::::::::::::::::: ##:
##:::::::::::::::::: ##:

_______________________________________________________________________


2^40=4^20=16^10=256^5 .. (1099511627776+1)/257=(4278255361)prime --- [ edb ]

______________________________________________________________________

Last fiddled with by cmd on 2011-02-28 at 21:03 Reason: c°de
cmd is offline  
Old 2011-02-28, 21:51   #351
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

33×37 Posts
Talking updt?

est_art?
Attached Thumbnails
Click image for larger version

Name:	ppc6.PNG
Views:	133
Size:	60.9 KB
ID:	6298  
cmd is offline  
Old 2011-02-28, 22:10   #352
cmd
 
cmd's Avatar
 
"(^r'°:.:)^n;e'e"
Nov 2008
;t:.:;^

33×37 Posts
Default

b-a-u-b-a-u
cmd is offline  
Closed Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora gedit for bash has become useless EdH Linux 11 2016-05-13 15:36
Useless SSE instructions __HRB__ Programming 41 2012-07-07 17:43
Useless DC assignment lycorn PrimeNet 16 2009-09-08 18:16
Useless p-1 work jocelynl Data 4 2004-11-28 13:28

All times are UTC. The time now is 23:22.


Fri Aug 6 23:22:12 UTC 2021 up 14 days, 17:51, 1 user, load averages: 3.92, 4.03, 4.03

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.