Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Date | 2016-01-03 12:46 +0000 |
|---|---|
| From | Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> |
| Newsgroups | comp.arch |
| Subject | Re: UNUM study and research |
| Message-ID | <20160103124607.33b1d35c@t500> (permalink) |
| References | (2 earlier) <n69659$1rc$1@dont-email.me> <afb76d19-81bf-4b6c-b98d-bc717eca5f65@googlegroups.com> <n69ap0$jkq$1@dont-email.me> <e7995d7b-555d-432e-9018-2fcc39d465ec@googlegroups.com> <v1rh8btoposr0mc87losiverk1hp6ublob@4ax.com> |
On Sun, 03 Jan 2016 04:42:15 -0500 George Neuner <gneuner2@comcast.net> wrote: > On Sat, 2 Jan 2016 12:29:30 -0800 (PST), "Rick C. Hodgin" > <rick.c.hodgin@gmail.com> wrote: > >Rounding errors resulting from fp computation at a given > >precision would be done away with by using a variable-length > >computation on the fp ops. [snip] > > No. This is trivially seen with trigonometric functions which > are calculated by inifinite series expansion. No amount of > precision will preclude rounding. I've had a quick refresh, and think I can see what would happen using unums in sine series evaluation: First point, what resolution will I start with? Entering sin(radians(30) should get me a unum with about five bits of significand, whereas entering sin(radians(30.000) should get me about fifteen. User/programmer choice. To simplify evaluation each term is derived from it's predecessor, and this is further simplified by pre-calculating the angle squared. As each successive term is calculated the negation and factorial parts retain unum exact status. The precision of the power of x part (I think) remains approximately constant. The value of each term reduces. At some point adding in the new term has no effect on the partial result. The partial result will likely become inexact early in the evaluation. Once inexact it cannot be changed by adding values that lie within it's declared range of inexactness. Computation stops, result returned. (If not satisfied, then try sin(radians(30.000000)!) Similar to being specific about precision on data entry, results displayed could also indicate precision: 1/3 0(+99%/-0%) # sorry, joking, 1 is an integer 1.0/3 0.31(+6%/-2%)) 1.00/3 0.33(+1%/-?%) The unum has only a positive error range, but the decimal display will likely also contain a negative one. The choice of input resolution also determines the speed and power consumed. Clearly more terms have to be evaluated for greater precision, but also, if any data exceeds the alu width, then bignum techniques are also needed, further increasing time and power budget for the operation. I can't see how these results would be considered 'rounded'? Jan Coombs.
Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-12-31 17:32 -0800
Re: UNUM study and research Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-01-01 03:07 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-12-31 19:34 -0800
Re: UNUM study and research Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-01-01 14:26 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-01 07:40 -0800
Re: UNUM study and research Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-01-01 17:35 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-01 13:02 -0800
Re: UNUM study and research MitchAlsup <MitchAlsup@aol.com> - 2016-01-01 09:37 -0800
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-01 12:45 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-01 10:04 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-01 10:12 -0800
Re: UNUM study and research nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-02 14:34 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-02 07:29 -0800
Re: UNUM study and research nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-02 16:36 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-02 10:01 -0800
Re: UNUM study and research nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-02 18:50 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-02 11:18 -0800
Re: UNUM study and research nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-02 20:09 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-02 12:29 -0800
Re: UNUM study and research nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-02 20:44 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-02 12:55 -0800
Re: UNUM study and research George Neuner <gneuner2@comcast.net> - 2016-01-03 04:42 -0500
Re: UNUM study and research already5chosen@yahoo.com - 2016-01-03 03:01 -0800
Re: UNUM study and research Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-01-03 12:46 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-03 09:47 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-02 14:46 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-02 15:26 -0800
Re: UNUM study and research Ivan Godard <ivan@millcomputing.com> - 2016-01-02 17:03 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-02 17:58 -0800
Re: UNUM study and research Ivan Godard <ivan@millcomputing.com> - 2016-01-02 18:13 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-02 20:25 -0800
Re: UNUM study and research Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-03 19:26 +0100
Re: UNUM study and research already5chosen@yahoo.com - 2016-01-03 02:55 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-02 18:01 -0800
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-02 18:06 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-02 20:30 -0800
Re: UNUM study and research Erik Trulsson <erikt@Update.UU.SE> - 2016-01-08 08:35 +0000
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-08 05:34 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-08 07:57 -0800
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-08 08:01 -0800
Re: UNUM study and research "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-08 08:07 -0800
Re: UNUM study and research Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-01-02 22:15 +0000
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-02 14:59 -0800
Re: UNUM study and research nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-03 10:39 +0000
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-03 05:17 -0800
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-03 05:19 -0800
Re: UNUM study and research nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-03 14:56 +0000
Re: UNUM study and research Quadibloc <jsavard@ecn.ab.ca> - 2016-01-03 08:21 -0800
Re: UNUM study and research Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-01-03 09:24 +0000
csiph-web