Signed number representations for ESP32?

3w3rt0n
Posts: 1
Joined: Thu Nov 01, 2018 2:34 pm

Signed number representations for ESP32?

Postby 3w3rt0n » Thu Nov 01, 2018 2:40 pm

Hello, :mrgreen:

What's the signed number representations for ESP32?
- Signed magnitude representation
- Ones' complement
- Two's complement

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Signed number representations for ESP32?

Postby ESP_Angus » Fri Nov 02, 2018 4:30 am

The CPU instructions that operate on signed integers use two's complement (for the particular integer length in question).

Who is online

Users browsing this forum: No registered users and 72 guests