I've been playing around with the compiler-generated output. For some reason, ab_int is UB in GCC …
For some reason, this will convert 2.6f to 3f. Yes, you're right. It will round. I wrote it wrong.…
f = f + 0x1p23f - 0x1p23f; For some reason, this will convert 2.6f to 3f. Why do you check for 0x1…
Can you list a couple of meanings? 8-bit. 16-bit. 32-bit. It depends on computer architecture. The…
Thanks. Now it works. I missed the reupload.
What "word" actually means is up to architecture/cpu. They can mean different things. Can you list…
Please re-download 0.3.9.9. A fix for this was posted shortly after this was reported and a new bu…
What is a word and how big is it? In Win32, there's a WORD type of 16 bytes. In Windows WORD is 16…
Yes, that's correct. uint8/int8 are exactly 8-bit wide types. How many bits are in "char" type is …
Are there similar flags on MSVC or Clang? Clang has most of gcc flags. Not all of them are impleme…
In this new version I have a problem: "The initial directory used in the file open dialog for comm…
Yes, those flags are reliable (aside occasional compiler bugs). Afaik whole linux kernel is compil…
RemedyBG 0.3.9.9 is now available for download. Added a toggle "Keep Location Centered" to the dis…
Yes, those flags are reliable (aside occasional compiler bugs). Afaik whole linux kernel is compil…
Compilers do not have "spec" in "C spec" of way. They have behavior that is different from version…
If I want to fake overflow the number here, can I do this return b - (INT_MAX - a)? If by "fake it…
if (a > 0 && b > INT_MAX - a) { ERROR: overflow happens } If I want to fake overflow the number he…
Then how can I check for it? Depends on operation. I showed example above for overflow check when …
For signed integers over/under-flow is undefined behavior Then how can I check for it? When castin…
6 and 7 in recent C++ versions have to do with strict aliasing which makes this kind of thing unde…
For unsigned integers overflow/underflow is defined behavior. It performs operation % 2**n. For si…
A couple of questions regarding undefined behavior and integer math in C/C++:Is overflow/underflow…
Version 2.0 have now been officially released, more details here:
The way that works is that debugger can look up virtual table pointer. That has a specific type - …
You might have a faster answer by asking in the handmade network discord in the remedybg section.
Hello, I am working with a codebase that heavily utilizes virtual inheritance, and my debugging ex…
This is the first time I post anything here in "Work-in-Progress" about C3, so it's going to be a …
It's been about one month since C3 0.5.3 (announcement) was released. Since then there has been qu…
Mór —
The larger the forum, the worse it is. Reddit is what you describe. This forum is one of the good …