Object Oriented Software Engineering   View all facts   Glossary   Help
subject > problem > defect > defect in a numerical algorithm > ordering operations poorly so errors build up
Next defect in a numerical algorithmassuming a floating point value will be exactly equal to some other value    Updefect in a numerical algorithm    Previous defect in a numerical algorithmnot using enough significant figures   

ordering operations poorly so errors build up comparison table
Subject have testing strategy occur is a kind of
defect in a numerical algorithm  defect
ordering operations poorly so errors build up
  • if a numerical application is designed to work with floating-point numbers, then make sure it works with inputs that vary widely in magnitude, including both large positive and large negative exponents
  • pay particular attention to the accuracy of the result when a floating point value is being repeatedly decremented or incremented by small amounts
when you do small operations on large floating point numbers, and excessive rounding or truncation errors build updefect in a numerical algorithm

Next defect in a numerical algorithmassuming a floating point value will be exactly equal to some other value    Updefect in a numerical algorithm    Previous defect in a numerical algorithmnot using enough significant figures