Top "Signed" questions

In computing, signedness is a property of data types representing numbers in computer programs.

Adding signed numbers in assembly

I want to sum an array elements. This array contains positive and negative numbers. array db 07, 00, -3, 10, -7, 14, 9, -5, -100 …

assembly x86 signed addition x86-16
Difference between char and signed char in c++?

Consider the following code : #include <iostream> #include <type_traits> int main(int argc, char* argv[]) { std::…

c++ c++11 char signed typetraits
How to trust a certificate in Windows Powershell

I am using Windows 7, and want to run signed scripts from Powershell, the security-settings of Powershell are set to "all-signed", …

powershell certificate signed pfx trusted
2's complement example, why not carry?

I'm watching some great lectures from David Malan (here) that is going over binary. He talked about signed/unsigned, 1's …

binary signed twos-complement
Why is 0 < -0x80000000?

I have below a simple program: #include <stdio.h> #define INT32_MIN (-0x80000000) int main(void) { long …

c signed numeric-limits numeric-conversion
Java negative int to hex and back fails

public class Main3 { public static void main(String[] args) { Integer min = Integer.MIN_VALUE; String minHex = Integer.toHexString(Integer.MIN_…

java parsing decimal hex signed
signed applet gives AccessControlException: access denied, when calling from javascript

I have an easy self-signed an applet (done with keytool and the jarsigner): public class NetAppletLauncher extends JApplet { private static …

java javascript applet signed accesscontrolexception
When should I use std_logic_vector and when should I use other data types?

I'm new to VHDL and am having trouble figuring out which data types are appropriate to use where. If I …

integer port vhdl unsigned signed
Converting from 8 bit to 16 bit

I was wondering how do you convert from an 8 bit 2's complement to a 16 bit 2's complement signed number? 1100 0110 is …

signed twos-complement
How to print a signed integer as hexadecimal number in two's complement with python?

I have a negative integer (4 bytes) of which I would like to have the hexadecimal form of its two's complement …

python integer hex signed twos-complement