This book covers numerical methods that preserve properties of Hamiltonian systems, reversible systems, differential equations on manifolds and problems with highly oscillatory solutions. The long-time behavior of the numerical solutions is studied using a backward error analysis combined with KAM theory.