This book reveiws the last two decades of computational techniques and progress in the classical theory of quadratic diophantine equations. Presents important quadratic diophantine equations and applications, and includes excellent examples and open problems.