2007-06-01から1ヶ月間の記事一覧

kqemu設定メモ。

qemuのエラーメッセージがうるさいので、kqemu入れた。設定をメモっておきます。/etc/rc.d/rc.localに以下を追加。 # Start Qemu with KQemu accelerator /sbin/modprobe kqemu major=0 /bin/mknod /dev/kqemu c 250 0 # Create the KQEMU device chmod 666 …

SICPを読む(14) 問題1.17 - 1.19 変換がわからない・・・

a 問題1.17 あっさり解けた。 (define (double x) (* x 2)) (define (halve x) (/ x 2)) (define (mul a b) (cond ((= b 0) 0) ((even? b) (+ a (double (mul a (halve x))))) (else (+ a (mul a (- b 1)))))) 問題1.18 1.17を反復にする問題。簡単だと思っ…