Newsgroups: sci.math.num-analysis
From: Peter Seibel <peter.sei...@gmail.com>
Date: Sun, 2 Nov 2008 13:38:11 -0800 (PST)
Local: Sun, Nov 2 2008 10:38 am
Subject: 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 You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||