From: Yuki Kagohashi <yuki@xxxxxxxxxxxx>
Subject: [debian-users:29981] バグなのかどうか自信がないのですが。
Date: Tue, 25 Sep 2001 01:48:08 +0900
> T siguma(const T &start, const T &end, const T &width)
> {
> T total = 0;
> for(T i= start; i <= end; i += width) {
> total += i;
> }
> return total;
> }
for(T i= start; i <= end+width*0.01; i += width) {
にしてみるとか。