From: Ben Harris
Date: Tue, 17 Apr 2007 20:55:40 +0100 (BST)
Subject: [Formal] div and mod should have examples with x1 negative
submitter: Ben Harris
type: Enhancement
priority: Trivial
component: Base Library
version: 5.92
summary: div and mod should have examples with x1 negative
All of the examples of the div and mod operations in section 9.3.3 on
page 40 have x1 positive, which misses an opportunity for readers to
confirm that they've understood the operations correctly. I would
suggest adding some of the following:
-5 div 3 = -2
-5 div -3 = 2
-5 mod 3 = 1
-5 mod -3 = 1
--
Ben Harris
RESPONSE:
This change was made (see section 11.7.3 in R5.97RS).