I'm trying to finish some basic coding exercise and I have already figured out how to fix it but I would just really like to understand what's going o ...
I'm trying to finish some basic coding exercise and I have already figured out how to fix it but I would just really like to understand what's going o ...
There are the following programs: Why i+2 is not equal to -2147483646 ? why j+2 is not equal to 2 It's the result that I expected was different. ...
With the following code I can get the jimple representation of a java .class file: soot.Main.main(args); SootClass mainClass = Scene. ...
I have the internal representation of a float stored in a uint32_t. Suppose we have two of them with those conditions. I want to sum the two floats re ...
I don't even know how to express this question. A assume there's a pointer to a non evaluated expression. If it's requested (by some strict function t ...
This might be a very basic problem, but I couldn't manage to. Here is what I am working with. #include <stdio.h> int main(void) { char c1, ...
Below control of bigger than 0.0 for a double variable works correctly. I am curious about whether the compiled exe with this function could behave di ...
I have hunted about quite a bit but can't find a way to get at the Hexadecimal or Binary representation of the content of a Double variable in VB6. (A ...
On an x86_64 architecture, a pointer is 8 bytes. It makes sense to me that sizeof(x) should return 8. I understand that a char is a single byte, and 5 ...
R seems to support an efficient NA value in floating point arrays. How does it represent it internally? My (perhaps flawed) understanding is that mod ...
I was trying to use numpy.divmod with very large integers and I noticed a strange behaviour. At around 2**63 ~ 1e19 (which should be the limit for the ...
There are various articles out there on the interwebs that try to empirically estimate the overhead of a java.lang.Object in particular JVM implementa ...
I am writing a simple program interpreter in c++. When I am building the internal representation of the program and I get a break statement, how do I ...
Disclaimer First of all, this is for homework, so don't ask why it's so contrived, it is this way and it can only be this way. (I get a lot of "how a ...
I came across this in a computer architecture textbook: Subtracting a strictly negative integer from another strictly negative integer (in two's c ...
When I call set timeout it returns a number, for example I know that I can use this number to call clearTimeout() but what does this number represe ...
Recently I came across a bug/feature in several languages. I have a very basic knowledge about how it's caused (and I'd like some detailed explanation ...
When I write something like map (1+) list in Haskell, what is the internal representation of (1+)? Since it is a partial application of (+), the argum ...
What is the underlying datastructure of datetime values stored in SQL Server (2000 and 2005 if different)? Ie down to the byte representation? Presum ...
I'm just curious if there's a reason why in order to represent -1 in binary, two's complement is used: flipping the bits and adding 1? -1 is represen ...