@Thomas Klemm > CORDIC Article

06012014, 08:28 PM
(This post was last modified: 06012014 10:15 PM by pito.)
Post: #8




RE: @Thomas Klemm > CORDIC Article
Quote:What is the most efficient approach in terms of speed and accuracy between CORDIC and Taylor? The cordic was the choice with early calculators which had 14kBytes of rom (and fully different architecture as it is today, ie. my HP25 with 2kx10bit of rom  see the disassembled rom at http://www.jacqueslaporte.org/Woodstock...s/hp25.txt). I did some benchmarks in past on cortex M3 (32bit cordic vs. single precision) where I set the cordic's Niterations such I get similar results as with single precision and the timing difference was not dramatic. The Taylor does not need too many terms to get required precision. You may try the 32bit cordic (ready code to run): http://www.dcs.gla.ac.uk/~jhw/cordic/ Today the cordic algorithms are mostly used in FPGA or ASIC designs  there are sources in VHDL/Verilog available  it is the implementation in hardware which is _very_ fast. Also mind the WP34s is using decNumber library with arbitrary lenght decimal floating point (set to maybe 34 digits or more for trigo), which is not the same as the IEEE double precision (or single precision). On the ARM a single precision (32bit, 67digits precision) calculation is typically twice faster than the double precision (64bit, 1415digits), and a 34digits decimal floating point is maybe 1015x slower than the double precision.. 

« Next Oldest  Next Newest »

User(s) browsing this thread: