Nhom moi:sci.math.num-analysis
Từ: Peter Seibel <peter.sei...@gmail.com>
Ngày: Sun, 2 Nov 2008 13:38:11 -0800 (PST)
Địa phương: Thứ Hai 3 Tháng Mười Một 2008 04:38
Tiêu đề: Re: Any way around non-reversibility of floating point ops
On Nov 2, 11:13 am, Gordon Sande <g.sa...@worldnet.att.net> wrote:
> On 2008-11-02 12:30:20 -0400, Peter Seibel <peter.sei...@gmail.com> said: I'm aware only that one should do an error analysis but have no idea > > I've got an algorithm for computing the probability of a candidate in > > define compute-ev-probabilites (state-probs) > > define fold-into (probs votes prob) > > So far so good. Now I'd like to add this function which can back out > > define back-out (probs votes prob) > > Mathematically this works--I've actually implemented this in Common > > Is there some obvious way to write this so I can still use floating > > -Peter > If you are doing a lot of manipulations this numers that are 1 - eps > However since you had to ask one suspects that you may not be familiar how to go about it. I was just wondering if there was some well-known simple trick for trading off precision. Sounds like not. Thanks--I'm off to implement bignums in Javascript. ;-) -Peter Bạn phải Đăng nhập trước khi đăng bài
Để đăng bài, trước tiên bạn phải tham gia vào nhóm này.
Vui lòng cập nhật biệt hiệu của bạn trên trang cài đặt đăng ký trước khi đăng.
Bạn không có quyền để đăng bài.
| ||||||||||||||