Re: Rounding timings



In article <b4e6f3p01lij7o99aq1fsr0kgg07s88qgt@xxxxxxx>, Robert <no@xxxxxx> wrote:
01 A binary pic s9(09)v9(04) value 1.005.
01 B pic s9(09)v9(02).
01 E pic z(09).9(02)-.

Move A to B 790
Compute B = A 830
Compute B rounded = A 860
Compute B = A + .005 980

Looks like using ROUNDED is some twelve percent *faster* than not using it.

Tell me again exactly what it was that you "busted"?

--
Regards,
Doug Miller (alphageek at milmac dot com)

It's time to throw all their damned tea in the harbor again.
.



Relevant Pages

  • Re: 3-way switch
    ... Doug Miller (alphageek at milmac dot com) ... It's time to throw all their damned tea in the harbor again. ...
    (alt.home.repair)
  • Re: removing rust from jointer
    ... Doug Miller (alphageek at milmac dot com) ... It's time to throw all their damned tea in the harbor again. ...
    (rec.woodworking)
  • Re: Value of being smart was Re: Iraq
    ... Doug Miller (alphageek at milmac dot com) ... It's time to throw all their damned tea in the harbor again. ...
    (comp.lang.cobol)
  • Re: Elec. Disconnect box help
    ... Doug Miller (alphageek at milmac dot com) ... It's time to throw all their damned tea in the harbor again. ...
    (alt.home.repair)
  • Re: Removing ancient chrome bathroom fixture
    ... Doug Miller (alphageek at milmac dot com) ... It's time to throw all their damned tea in the harbor again. ...
    (alt.home.repair)