# PS2 Floating-point: reconstructing console arithmetic behavior

> PS2 Floating-point reconstructs aspects of PlayStation 2 floating-point behavior in Rust using console experiments as a baseline. Its Ps2Float type represents the console's floating-point variant and implements addition and subtraction, with test cases for ordinary values and special cases.

- Type: Case study
- Targets: Firmware
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/gregorygaines/ps2-floating-point-rs>
- Primary source: <https://github.com/gregorygaines/ps2-floating-point-rs/blob/9182dfdc42971a4e3734d60e2a5aa0bff3d0bf6f/README.md>
- Catalog page: <https://awesomerea.org/resources/ps2-floating-point-case/>
- Record JSON: <https://awesomerea.org/resources/ps2-floating-point-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/ps2-floating-point-case/index.md)

## Requirements & limits

- **Scope:** The implementation documents addition and subtraction; the author plans further findings as the emulator work progresses.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/gregorygaines/ps2-floating-point-rs/blob/9182dfdc42971a4e3734d60e2a5aa0bff3d0bf6f/README.md>
2. <https://github.com/gregorygaines/ps2-floating-point-rs/blob/9182dfdc42971a4e3734d60e2a5aa0bff3d0bf6f/src/lib.rs>
3. <https://github.com/gregorygaines/ps2-floating-point-rs/blob/9182dfdc42971a4e3734d60e2a5aa0bff3d0bf6f/tests/lib.rs>

## More in Firmware and hardware

- [CD Changer Robot: rebuilding a Nistec ALW-501 controller](https://awesomerea.org/resources/cd-changer-robot-case/index.md) · Case study
- [open-ssd: reconstructing SM2263XT SSD initialization](https://awesomerea.org/resources/open-ssd-sm2263xt-case/index.md) · Case study
- [t2-cruise: reconstructing Apple SMC power-limit behavior on Linux](https://awesomerea.org/resources/t2-cruise-case/index.md) · Case study
- [XENO: reconstructing the Xbox 360 boot chain in a low-level emulator](https://awesomerea.org/resources/xeno-xbox-360-case/index.md) · Case study
- [rytm-fw-re: reconstructing Analog Rytm MKII firmware](https://awesomerea.org/resources/rytm-fw-re-case/index.md) · Case study
- [Nokia DCT Platform Emulation: reconstructing early handset hardware behavior](https://awesomerea.org/resources/nokia-dct-platform-emulation-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
