Types converter



Error: Format help

Independently of the input format, conversion is limited to 64 bits.

Decimal

C literals:
[+-][1-9][0-9]*[u][l[l]]
Scientific notation:
[+-][0-9]+[.,]?[0-9]*[eE][+-][0-9]+
1687
789u
-1.797e3
66789933ul

Hexadecimal

C literals:
[0x][0-9A-F]+[u][l[l]]
0x14AB
0X5533ul
54EF

Binary

C literals:
[0b][01]+[u][l[l]]
0b011101
100100
0101000111
Decimal value: 0e+0
(interpretated as unsigned integer)

8-bits types

SINT8 (signed 8-bits integer, signed char)

00000000

UINT8 (unsigned 8-bits integer, unsigned char)

00000000

16-bits types

SINT16 (signed 16-bits integer, signed short)

00000000
00000000

UINT16 (unsigned 16-bits integer, unsigned short)

00000000
00000000

32-bits types

SINT32 (signed 32-bits integer, signed int, long (on 32 bits systems))

00000000
00000000
00000000
00000000

UINT32 (unsigned 32-bits integer, unsigned int, unsigned long (on 32 bits systems))

00000000
00000000
00000000
00000000

64-bits types

SINT64 (signed 64-bits integer, signed long long)

00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

UINT64 (unsigned 64-bits integer, unsigned long long)

00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

Error: Format help

Hexadecimal

C literals:
[0x][0-9A-F]+[u][l[l]]
0x14AB
0X5533ul
54EF

String

ASCII String:
Only ASCII characters are accepted. (ASCII table)

Character Strings

CHARACTER (unterminated string, ASCII ISO/IEC 646 1983)

""
00000000


Error: Format help

Decimal

C literals:
[+-][1-9][0-9]*
Scientific notation:
[+-][0-9]+[.,]?[0-9]*[eE][+-][0-9]+
1687
789
-1.797e3
66789933

Hexadecimal

C literals:
[0x][0-9A-F]+
0x14AB
0X5533
54EF

Binary

C literals:
[0b][01]+
0b011101
100100
0101000111

Floating point numbers

FLOAT32 (single precision float)

00000000
00000000
00000000
00000000

FLOAT64 (double precision float)

00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

FLOAT128 (quadruple precision float)

00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

Custom CRC




CRC: