Add sample how to calculate in double precision with long operations.
This is needed to avoid double in GPU.