Standard Tests for Calculator Accuracy?



#12

Does anyone here know if there is a standard or protocol for assessing the accuracy of calculating devices? What I'm thinking of is a series of problems, for each of the functions that one would typically find on a technical calculator, that could be used to assess the acuracy of the function's algorithm (or at least it's implementation).

If such a standard or protocol exists, where would I look for it?

Thanks in advance for any information...


#13

The only standard one i know of is Mike Sebastian's "calculator forensics project". It is limited to what was his begining interest, trig accuracy. A couple of people here have pointed out (perhaps rightly) it's flaws, but have not done the work to design an improvement or implement a data base for a better one so.....


#14

There are also Hugh Steers's torture tests.


#15

Interesting site Gerson, i liked "The Secret Life of the MOD Function" too. I must admit to clicking on the link with a bit or trepidation though. With that name i was expecting long falls onto concrete and big hammers.


#16

Gerson & dB - Thanks for your responses. I already know about both of the webpages that you point to. What I was hoping to find was a more formal set of tests, for example something from NIST or the IEEE. Does anyone know of such a thing?

#17

You might find this of interest:

http://www.netlib.org/paranoia/


#18

John - Thanks for your comment. Because the tests on this webpage appear to be in C and Fortran, I'm not sure that they would be of much use for a calculator. The underlying algorithm, however, might be worthwhile if I can I can decode it. If nothing else turns up, I may try that. Thanks again for this reference...!

#19

See 20.1 Diagnosing Machine Parameters in Numerical Recipes. You only have to migrate that FORTRAN to your calculator (but you know, a good FORTRAN porgammer may do FORTRAN in any language).

Ciao.....Mike


#20

Mike - I'll take a look at that section. Thanks for the reference.

I've also been looking through the IEEE website; lots of hits, but I haven't yet stumbled onto quite the right set of keywords...

#21

Here is a link to NIST's software page which contains data sets which can be used for calibrating algorithms for statistics and sparsely populated matrices:

http://math.nist.gov/

This may help but is only part of what I think you are looking for.

Regards,

John


#22

John - Thanks! I'll take a look at this. Still haven't found much at the IEEE website...


Possibly Related Threads...
Thread Author Replies Views Last Post
  How much accuracy does one actually need? Matt Agajanian 23 2,156 08-26-2013, 12:46 PM
Last Post: Kimberly Thompson
  Estimating accuracy in finite precision computations mpi 17 1,722 02-22-2013, 09:44 AM
Last Post: mpi
  Cube root on standard calculator Thomas Klemm 22 2,524 11-09-2012, 06:11 AM
Last Post: Pierre
  An old trick rediscovered: combining conditional tests Dieter 2 507 08-12-2012, 03:42 PM
Last Post: Dieter
  HP-15C LE torture tests ckelley2 11 1,343 07-25-2012, 09:36 AM
Last Post: Gerson W. Barbosa
  HP48SX seems fully functional won't run SELF TESTS? Bruce Larrabee 5 855 07-16-2012, 11:04 PM
Last Post: Luiz C. Vieira (Brazil)
  Test HP-41C PPC ROM and STANDARD modules Robert (Simi Valley) 2 603 06-14-2012, 08:05 AM
Last Post: Frido Bohn
  WP 34S accuracy is excellent Jeff Johnson 15 1,443 06-01-2012, 10:41 PM
Last Post: Valentin Albillo
  50G precision & accuracy Matt Agajanian 11 1,223 05-17-2012, 11:15 AM
Last Post: Crawl
  15C LE self tests / how? db (martinez, ca.) 1 367 04-22-2012, 12:55 AM
Last Post: Ethan Conner

Forum Jump: