This document provides a technical overview and the assembly code implementation for a suite of floating-point arithmetic subroutines developed at the Massachusetts Institute of Technology.
Summary: The M.I.T. Floating Point Arithmetic Package represents numbers in the format $f \times 2^e$, where $f$ is an 18-bit one's complement fraction and $e$ is an 18-bit one's complement integer exponent. The package includes routines for:
The document contains the full assembly language source code for these routines, which are designed for use with the Digital Equipment Computer Users Society (DECUS) library. Each routine is documented with instructions on how to call it, the required registers for arguments and results, and descriptions of specific behaviors such as error handling (e.g., division by zero or negative square root arguments).
Site structure and layout ©2025 Majenko Technologies