liveBook · Manning

8-bit signed integer

Also called INT8, 8-bit integer, i8

An 8-bit signed integer is a fixed-width integer representation of whole numbers from −128 through 127.

How 2 Manning books explain it

Quantization and Fast Inference

INT8 is an 8-bit signed or unsigned integer representation used for low-precision numerical computation and storage.

How it is used
Compares INT8 with FP8 to guide low-precision representation choices for neural-network weights and activations.
How deep it goes
Explains representable-value density and compares weight reconstruction MSE, while cautioning that MSE alone does not establish end-to-end perplexity.
Examples
Compares near-zero value counts and OPT-6.7B fc1 weight reconstruction across INT8 and FP8 formats.
What you can do after
Evaluate INT8 against FP8 using value distributions, scaling granularity, and the intended quantization workflow.

Read how Quantization and Fast Inference explains 8-bit signed integer →

Rust in Action: Systems programming concepts and techniques

i8 is Rust's signed 8-bit integer type.

How it is used
Represents compact signed storage for a Q7 fixed-point format spanning approximately −1 to 1.
How deep it goes
Defines i8 as Q7’s one-byte representation and demonstrates scaling, clamping, derived traits, and conversions.
Examples
Uses Q7(i8), bounded f64 and f32 conversions, and tests for out-of-range values.
What you can do after
Builds a compact Q7 value type with i8 storage and conversions from f32 or f64.

Read how Rust in Action: Systems programming concepts and techniques explains 8-bit signed integer →

Also covered in

What to know first

Related concepts

Questions about 8-bit signed integer

What is 8-bit signed integer?

An 8-bit signed integer is a fixed-width integer representation of whole numbers from −128 through 127.

Which Manning books explain 8-bit signed integer?

Quantization and Fast Inference and Rust in Action: Systems programming concepts and techniques.

What should I know before learning 8-bit signed integer?

Manning books that teach 8-bit signed integer usually introduce parameter first.

What is the difference between 8-bit signed integer and FP8?

An 8-bit signed integer is a fixed-width integer representation of whole numbers from −128 through 127. FP8 is a family of 8-bit floating-point formats for representing values and performing reduced-precision computation.

What is 8-bit signed integer a kind of?

8-bit signed integer is a kind of integer. An integer is a whole-number mathematical value, including negative numbers, zero, and positive numbers, with no fractional part.

What is 8-bit signed integer also called?

8-bit signed integer is also called INT8, 8-bit integer or i8.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.