Click here to Skip to main content
15,896,063 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 4:29
sitebuilderLuc Pattyn9-Mar-09 4:29 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 4:58
CoolCoder_New9-Mar-09 4:58 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 5:05
sitebuilderLuc Pattyn9-Mar-09 5:05 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:53
CoolCoder_New9-Mar-09 5:53 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 6:02
sitebuilderLuc Pattyn9-Mar-09 6:02 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Dave Kreskowiak9-Mar-09 4:40
mveDave Kreskowiak9-Mar-09 4:40 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:48
CoolCoder_New9-Mar-09 5:48 
GeneralRe: GlobalMemoryStatus() return negative value like - Pin
Luc Pattyn9-Mar-09 6:00
sitebuilderLuc Pattyn9-Mar-09 6:00 
CoolCoder_New wrote:
will the uint to int creates negative value ???


there is a 50% probability they do.

have you any idea how the number representation works?
half of the Uint32 numbers have their highest bit set indicating a value >= 2GB
when looking at the same bit pattern as an Int32 it will be negative.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


GeneralRe: GlobalMemoryStatus() return negative value like - Pin
CoolCoder_New9-Mar-09 5:54
CoolCoder_New9-Mar-09 5:54 
QuestionF# and IEnumerable Pin
Matty228-Mar-09 6:01
Matty228-Mar-09 6:01 
AnswerRe: F# and IEnumerable Pin
Matty228-Mar-09 6:17
Matty228-Mar-09 6:17 
Question[Message Deleted] Pin
fraulin6-Mar-09 20:43
fraulin6-Mar-09 20:43 
AnswerRe: "image processing" Pin
Eddy Vluggen8-Mar-09 2:57
professionalEddy Vluggen8-Mar-09 2:57 
QuestionDeployment of Dot Net installar Pin
BijayaSharma6-Mar-09 8:30
BijayaSharma6-Mar-09 8:30 
AnswerRe: Deployment of Dot Net installar Pin
Curtis Schlak.6-Mar-09 9:28
Curtis Schlak.6-Mar-09 9:28 
AnswerRe: Deployment of Dot Net installar Pin
BijayaSharma6-Mar-09 10:48
BijayaSharma6-Mar-09 10:48 
Questionsingleton v/s pooling Pin
nicetohaveyou6-Mar-09 6:21
nicetohaveyou6-Mar-09 6:21 
AnswerRe: singleton v/s pooling Pin
Curtis Schlak.6-Mar-09 6:57
Curtis Schlak.6-Mar-09 6:57 
GeneralRe: singleton v/s pooling Pin
nicetohaveyou8-Mar-09 7:21
nicetohaveyou8-Mar-09 7:21 
GeneralRe: singleton v/s pooling Pin
Curtis Schlak.9-Mar-09 2:22
Curtis Schlak.9-Mar-09 2:22 
GeneralRe: singleton v/s pooling Pin
nicetohaveyou9-Mar-09 6:29
nicetohaveyou9-Mar-09 6:29 
GeneralRe: singleton v/s pooling Pin
supercat99-Mar-09 6:31
supercat99-Mar-09 6:31 
GeneralRe: singleton v/s pooling Pin
Curtis Schlak.9-Mar-09 7:36
Curtis Schlak.9-Mar-09 7:36 
AnswerRe: singleton v/s pooling Pin
led mike6-Mar-09 8:33
led mike6-Mar-09 8:33 
JokeRe: singleton v/s pooling Pin
Curtis Schlak.6-Mar-09 9:29
Curtis Schlak.6-Mar-09 9:29 

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.