101 assert(re1-re0 > reps || im1-im0 > ieps);
103 if (bottom.size() > right.size() || im1-im0 <= ieps) {
104 double re = 0.5 * (re0 + re1);
108 size_t n = (bottom.size()-1) / 2;
110 size_t imn = right.size() - 1;
113 double di = (im1 - im0) /
double(
imn);
115 std::exception_ptr
error;
122 error = std::current_exception();
140 double im = 0.5 * (im0 + im1);
144 size_t ren = bottom.size() - 1;
146 if (right.size() <= 2) {
155 size_t n = (right.size()-1) / 2;
157 double dr = (re1 - re0) /
double(
ren);
159 std::exception_ptr
error;
166 error = std::current_exception();