EAE Routines for FOCAL

Order Number: FOCAL8-11

This document outlines a patch for the FOCAL programming language, designed to integrate with the Extended Arithmetic Element (EAE) floating-point package. It details improvements to the FITR (floating-to-integer) conversion routine, including better handling of edge cases for negative arguments and specific numerical ranges. Additionally, it introduces a new multiplicative-congruential pseudorandom number generator to replace the existing FRAN function, providing a flatter distribution and a longer sequence repeat cycle. The document includes technical details for implementation, including memory locations and relevant switch register usage for resetting the generator.

FOCAL8-11
2000
22 pages
Quality

Original
0.8MB

Site structure and layout ©2026 Majenko Technologies