Click here to Skip to main content
15,918,808 members
Home / Discussions / C#
   

C#

 
GeneralRe: Base 2 Log Method Pin
PIEBALDconsult29-Nov-07 13:48
mvePIEBALDconsult29-Nov-07 13:48 
GeneralRe: Base 2 Log Method Pin
Luc Pattyn29-Nov-07 14:13
sitebuilderLuc Pattyn29-Nov-07 14:13 
GeneralRe: Base 2 Log Method Pin
Luc Pattyn29-Nov-07 10:55
sitebuilderLuc Pattyn29-Nov-07 10:55 
GeneralRe: Base 2 Log Method Pin
PIEBALDconsult29-Nov-07 12:38
mvePIEBALDconsult29-Nov-07 12:38 
GeneralRe: Base 2 Log Method Pin
Luc Pattyn29-Nov-07 13:57
sitebuilderLuc Pattyn29-Nov-07 13:57 
GeneralRe: Base 2 Log Method Pin
PIEBALDconsult29-Nov-07 13:59
mvePIEBALDconsult29-Nov-07 13:59 
AnswerRe: Base 2 Log Method Pin
PIEBALDconsult29-Nov-07 6:02
mvePIEBALDconsult29-Nov-07 6:02 
GeneralRe: Base 2 Log Method Pin
Skippums29-Nov-07 6:22
Skippums29-Nov-07 6:22 
I just timed this method vs. the algorithm I initially posted, as well as a new faster alg. using a binary search scheme (see my response to the post before yours), and the algorithm that you proposed is OVER 4.5 times slower than my fast method (~3 times slower than my slow method for big integers)! That is why I am attempting to devise my own integer algorithm. The double arithmetic involved in the computation is EXTREMELY expensive and unneccessary, and the slowdown is unacceptable for my application.

Jeff
AnswerRe: Base 2 Log Method Pin
Luc Pattyn29-Nov-07 6:15
sitebuilderLuc Pattyn29-Nov-07 6:15 
GeneralRe: Base 2 Log Method Pin
Skippums29-Nov-07 6:30
Skippums29-Nov-07 6:30 
GeneralRe: Base 2 Log Method Pin
Ennis Ray Lynch, Jr.29-Nov-07 6:36
Ennis Ray Lynch, Jr.29-Nov-07 6:36 
GeneralRe: Base 2 Log Method Pin
PIEBALDconsult29-Nov-07 8:58
mvePIEBALDconsult29-Nov-07 8:58 
GeneralRe: Base 2 Log Method Pin
Luc Pattyn29-Nov-07 9:22
sitebuilderLuc Pattyn29-Nov-07 9:22 
GeneralRe: Base 2 Log Method Pin
Skippums29-Nov-07 9:41
Skippums29-Nov-07 9:41 
GeneralRe: Base 2 Log Method Pin
PIEBALDconsult29-Nov-07 10:12
mvePIEBALDconsult29-Nov-07 10:12 
GeneralRe: Base 2 Log Method Pin
Luc Pattyn29-Nov-07 10:14
sitebuilderLuc Pattyn29-Nov-07 10:14 
Questionfeatures of .net Pin
George Mathew29-Nov-07 4:56
George Mathew29-Nov-07 4:56 
AnswerRe: features of .net Pin
Rob Philpott29-Nov-07 5:04
Rob Philpott29-Nov-07 5:04 
AnswerRe: features of .net Pin
J4amieC29-Nov-07 5:04
J4amieC29-Nov-07 5:04 
AnswerRe: features of .net Pin
Judah Gabriel Himango29-Nov-07 5:06
sponsorJudah Gabriel Himango29-Nov-07 5:06 
GeneralRe: features of .net Pin
led mike29-Nov-07 5:08
led mike29-Nov-07 5:08 
AnswerDO YOUR OWN HOMEWORK Pin
leckey29-Nov-07 5:41
leckey29-Nov-07 5:41 
AnswerRe: features of .net Pin
PIEBALDconsult29-Nov-07 6:05
mvePIEBALDconsult29-Nov-07 6:05 
AnswerThe problem Pin
Ennis Ray Lynch, Jr.29-Nov-07 6:38
Ennis Ray Lynch, Jr.29-Nov-07 6:38 
AnswerRe: features of .net Pin
Justin Perez29-Nov-07 7:33
Justin Perez29-Nov-07 7:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.