[Gauche-devel-jp] Re: make test のエラー (redhat 7.2 / redhat 7.3)

Back to archive index

Shiro Kawai shiro****@lava*****
2004年 9月 1日 (水) 21:20:05 JST


From: Setu <setu-****@ohah*****>
Subject: [Gauche-devel-jp] make test のエラー (redhat 7.2 / redhat 7.3)
Date: Wed, 01 Sep 2004 17:46:45 +0530

> $ make test
> .....
> Testing numbers ... failed.
> discrepancies found. Errors are:
> test complex division: expects 0.0 => got 1.3877787807814457e-17
> .....

このエラーはgcc 2.xx で出るようです。最適化の違いのせいかも
しれません。gcc 2.xxの環境が手元にないので試せないのですが。

http://www.shiro.dreamhost.com/scheme/wiliki/wiliki.cgi?Gauche%3aBugs#H-14qozw2

> 何か数値計算をさせた場合のみ問題がある可能性があると思ったら良いでしょうか?

数値計算をする場合は、いずれにせよ丸め誤差を考慮したコーディングを
するでしょうから、問題ないと思います。(テストの方も丸め誤差を
考慮すべきかもしれませんが)。

--shiro




Gauche-devel-jp メーリングリストの案内
Back to archive index