taocp

taocp sandbox.
git clone git://git.ricketyspace.net/taocp.git
Log | Files | Refs

commit a979c004b424fb961f2fbe1fc0b63a287a256b04
parent 2b6938788cb269ad19ecfecf6c58bcdb067e3988
Author: rsiddharth <s@ricketyspace.net>
Date:   Tue,  8 Aug 2017 04:35:29 +0000

guile (net rickteyspace taocp utils mix): Update comments

* guile/net/ricketyspace/taocp/utils/mix.scm: Update file.

Diffstat:
guile/net/ricketyspace/taocp/utils/mix.scm | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guile/net/ricketyspace/taocp/utils/mix.scm b/guile/net/ricketyspace/taocp/utils/mix.scm @@ -9,7 +9,10 @@ ;;;; Functions that facilitate hacking in MIX -;;; All functions in this module assume that a byte is 6 bits. +;;; All functions in this module make the following assumptions: +;;; - A byte is 6 bits +;;; - A word is 6 bytes. +;;; - First byte is the sign byte (±) (define (word-to-decimal word) "Converts WORD to a decimal number.