Click here to Skip to main content
15,909,332 members
Home / Discussions / C#
   

C#

 
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 
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 
The input value is the size of a file, in bytes. It is provided by the client to my application (we assume they are good clients and provide the info correctly). Therefore, I expect the range to be anywhere between 1,000 (1 kB) and 1,000,000,000 (1 GB). I think the fastest I can get from C# code is as noted in my response to the first person who answered my question. I would be interested to try actually writing the asm code, and importing it into my C# project to get better performance. That sounds like a fun exercise. I will post the results of it as soon as I try it!

Jeff
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 
AnswerRe: features of .net Pin
Vasudevan Deepak Kumar29-Nov-07 7:41
Vasudevan Deepak Kumar29-Nov-07 7:41 
Questionwhat a namespace is? Pin
George Mathew29-Nov-07 4:53
George Mathew29-Nov-07 4:53 

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.