Engineering ToolBox - Resources, Tools and Basic Information for Engineering and Design of Technical Applications!

This is an AMP page - Open full page! for all features.

Data Types

Signed and unsigned datatypes

Sponsored Links
Data TypesBitsRange of Values
Unsigned char 8 0 to 255
Signed char 8 -128 to 127
Unsigned short 16 0 to 65535
Signed short 16 -32768 to 32767
Unsigned int 32 0 to 4294967295
Signed int 32 -2147483648 to 2147483647
Float 32 -3.4028 1038 to 3.4028 1038
Double 64 -1.7977 10308 to -1.7977 10308
  • one byte is 8 bits

Example - Unsigned char (byte)

The unsigned char with 8 bits can represent integers from 0 to 255 - check the Binary - to Decimal, Hexadecimal and ASCII Converter

  • The unsigned char (byte) 01100100 represents the decimal number 100.

Example - Signed char (byte)

With the signed char the leading bit indicates the sign of the number. 1 is negative and 0 is positive.

  • The signed char (byte) 01100100 represents the decimal number 100.
  • The signed char (byte) 10011100 represents the decimal number -100.

Example - Unsigned short

  • The unsigned short 00000000 01100100 represents the decimal number 100.

Example - Signed short

  • The signed short 00000000 01100100 represents the decimal number 100.
  • The signed short 11111111 10011100 represents the decimal number -100.

Example - Unsigned int

  • The unsigned int 00000000 00000000 00000000 01100100 represents the decimal number 100.

Example - Signed int

  • The signed int 00000000 00000000 00000000 01100100 represents the decimal number 100.
  • The signed int 11111111 11111111 11111111 10011100 represents the decimal number -100.

Example - Float

  • The Float 01000010 11001000 00000000 00000000 represents the decimal number 100.
  • The Float 11000010 11001000 00000000 00000000 represents the decimal number -100.

Example - Double

  • The Double 01000000 01011001 00000000 00000000 00000000 00000000 00000000 00000000 represents the decimal number 100.
  • The Double 11000000 01011001 00000000 00000000 00000000 00000000 00000000 00000000 represents the decimal number -100.
Sponsored Links

Related Topics

Related Documents

Sponsored Links

Share

Search Engineering ToolBox

  • the most efficient way to navigate the Engineering ToolBox!

SketchUp Extension - Online 3D modeling!

Add standard and customized parametric components - like flange beams, lumbers, piping, stairs and more - to your Sketchup model with the Engineering ToolBox - SketchUp Extension - enabled for use with the amazing, fun and free SketchUp Make and SketchUp Pro .Add the Engineering ToolBox extension to your SketchUp from the Sketchup Extension Warehouse!

Privacy

We don't collect information from our users. Only emails and answers are saved in our archive. Cookies are only used in the browser to improve user experience.

Some of our calculators and applications let you save application data to your local computer. These applications will - due to browser restrictions - send data between your browser and our server. We don't save this data.

Google use cookies for serving our ads and handling visitor statistics. Please read Google Privacy & Terms for more information about how you can control adserving and the information collected.

AddThis use cookies for handling links to social media. Please read AddThis Privacy for more information.

Topics

Unit Converters

Temperature

oC
oF


Load Calculator!

Length

m
km
in
ft
yards
miles
naut miles


Load Calculator!

Area

m2
km2
in2
ft2
miles2
acres


Load Calculator!

Volume

m3
liters
in3
ft3
us gal


Load Calculator!

Weight

kgf
N
lbf


Load Calculator!

Velocity

m/s
km/h
ft/min
ft/s
mph
knots


Load Calculator!

Pressure

Pa (N/m2)
bar
mm H2O
kg/cm2
psi
inches H2O


Load Calculator!

Flow

m3/s
m3/h
US gpm
cfm


Load Calculator!

8 6

This website use cookies. By continuing to browse you are agreeing to our use of cookies! Learn more