[racket] Decimal rounding problem

From: Stephen Bloch (bloch at adelphi.edu)
Date: Thu Nov 29 11:17:26 EST 2012

On Nov 29, 2012, at 11:01 AM, Neil Toronto wrote:

> This is because numbers in [4.0,8.0) have one fewer bit with which to represent the fractional part than numbers in [2.0,4.0). That bit is needed to represent the larger integer part.

Cute!  I want to assign this as an exam problem for my computer-architecture students.

Stephen Bloch
sbloch at adelphi.edu

Posted on the users mailing list.