DD-AVX  2.0.0
vector_cast.cpp
Go to the documentation of this file.
1 #include<DD-AVX_internal.hpp>
2 
3 d_real_vector:: operator dd_real_vector()
4 {
5  printf("cast dd=>d\n");
6  dd_real_vector tmp;
7  for(int i=0; i<size(); i++){
8  tmp.hi[i]=*this[i];
9  tmp.lo[i]=0.0;
10  }
11  return tmp;
12 }
Double-double precision vector class.
std::vector< double > lo
std::vector< double > hi