Artigo Revisado por pares

A procedure to debug computer programs

1985; Wiley; Volume: 21; Issue: 6 Linguagem: Inglês

10.1002/nme.1620210605

ISSN

1097-0207

Autores

Tien‐Mo Shih,

Tópico(s)

Parallel Computing and Optimization Techniques

Resumo

Abstract This analysis presents a procedure that can reliably debug computer programs. The central idea lies in creating a fictitious problem whose exact solution exists and is known, and in obtaining the numerical solution for comparison with the exact solution. If the two solutions are found identical, it is safe to assume that the computer program computing the fictitious problem is free of bugs. Then, conversion of the program computing the ficititious problem to that computing the real problem generally involves changing only one single statement. This procedure may be jointly used with all the existing numerical schemes.

Referência(s)