<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>Scheme</anon>
  </categories>
  <description>ゼロ除算を検出せよという問題。簡単だったので、ちょっと工夫してみた。 0 * x = 0なので、乗算でのゼロを検出できる。 (define (div-interval x y) (if (= 0 (* (lower-bound y) (upper-bound y))) (error &quot;div-interval : zero division error&quot;) (mul-interval x (make-interval (/ 1 (upper-bound y)) (/ 1 (lower-bound y)))))) こんなことも出来る。 (* 5 4 3 2 1 0) ; 0 ふふ。結構使えるかも…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070801%2F1185971103&quot; title=&quot; SICPを読む(42) 問題 2.10 ゼロ除算の検出 - ボクノス&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-08-01 21:25:03</published>
  <title> SICPを読む(42) 問題 2.10 ゼロ除算の検出</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070801/1185971103</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
