Searching \ for 'Efficient sqrt' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=efficient+sqrt
Search entire site for: 'Efficient sqrt'.

Truncated match.
PICList Thread
'Efficient sqrt'
1996\05\29@214016 by Steve Hardy

flavicon
face
> From: Andrew Warren <spam_OUTfastfwdTakeThisOuTspamIX.NETCOM.COM>
>
> I have in front of me a 16-bit square-root routine that takes only
> 126 cycles to execute on a PIC16C5x.  It's pretty amazing; when I
> received it, I offered its author a job.  Unfortunately, he lives in
> Germany, so he wasn't interested...
>

Andy: how much program and register space does it use?

Regards
SJH
Canberra, Australia

1996\05\30@022255 by fastfwd

face
flavicon
face
Steve Hardy <.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU> wrote:

> > From: Andrew Warren <fastfwdspamKILLspamIX.NETCOM.COM>
> >
> > I have in front of me a 16-bit square-root routine that takes only
> > 126 cycles to execute on a PIC16C5x.  It's pretty amazing; when I
> > received it, I offered its author a job.  Unfortunately, he lives
> > in Germany, so he wasn't interested...
>
> Andy: how much program and register space does it use?

Steve:

You're not the only one to ask this... Other list-members, perhaps
recalling the "Big Mojo" square-root-finder I posted last year -- if
you missed it, count yourself among the lucky; it "calculated" 16-bit
square roots in only 20 cycles or so, but required 512 bytes of table
space -- have also asked about the amount of RAM and ROM utilized by
the square-root routine I described in my last message.

Here are the numbers:

   RAM:  4 registers, including the two that hold the 16-bit input.
   ROM:  24 words.

See?  I TOLD you it was amazing...

-Andy

Andrew Warren - .....fastfwdKILLspamspam.....ix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geocities.com/SiliconValley/2499


'Efficient sqrt'
1996\06\03@053718 by mike
flavicon
picon face
In message  <EraseME199605300621.XAA26467spam_OUTspamTakeThisOuTdfw-ix5.ix.netcom.com> fastfwdspamspam_OUTix.netcom.com
writes:
> Steve Hardy <@spam@PICLISTKILLspamspamMITVMA.MIT.EDU> wrote:
>
> > > From: Andrew Warren <KILLspamfastfwdKILLspamspamIX.NETCOM.COM>
> > >
> > > I have in front of me a 16-bit square-root routine that takes only
> > > 126 cycles to execute on a PIC16C5x.  It's pretty amazing; when I
> > > received it, I offered its author a job.  Unfortunately, he lives
> > > in Germany, so he wasn't interested...
> >
> > Andy: how much program and register space does it use?
>
> Steve:
[snip]
> Here are the numbers:
>
>     RAM:  4 registers, including the two that hold the 16-bit input.
>     ROM:  24 words.
>
> See?  I TOLD you it was amazing...
>
> -Andy
>
If my memory serves me correctly, the forth based RTX2000 series processors
have a fast square root instruction. I'm sure the microcode could be
transferred to PIC code.

Does anyone have any experience with these chips and can work it out?


Mike

More... (looser matching)
- Last day of these posts
- In 1996 , 1997 only
- Today
- New search...