SRFI 270: Hexadecimal Floating-Point Constants

by Peter McGoron

status: draft (2026-05-01)

keywords: Reader Syntax

Abstract

Floating-point numbers are usually stored in radix 2, but are written by users in radix 10. This SRFI introduces Scheme syntax for hexadecimal floating point constants based on C99’s syntax. They use radix 16 for writing the integer and fractional part, and a radix 10 exponent part that raises the whole value to a power of 2.