external/blend2d/src/blend2d/blmath.cpp
// Divides p by the quadratic 1,u,v placing the quotient in q and the remainder in a, b.
Divides p by the quadratic 1,u,v placing the quotient in q and the remainder in a, b.
Divides p by the quadratic 1 u v placing the quotient in q and the remainder in a b .
void BLJenkinsTraubSolver::quadsd(int nn, double* u, double* v, double* p, double* q, double* a, double* b) {
  double c;
  int i;
  *b = p[0];
  q[0] = *b;
  *a = p[1] - (*b)*(*u);
  q[1] = *a;
  for (i = 2; i <= nn; i++) {
    c = p[i] - (*a)*(*u) - (*b)*(*v);
    q[i] = c;
    *b = *a;
    *a = c;
  }
}
void BLJenkinsTraubSolver :: quadsd ( int nn , double * u , double * v , double * p , double * q , double * a , double * b ) { double c ; int i ; * b = p [ 0 ] ; q [ 0 ] = * b ; * a = p [ 1 ] - ( * b ) * ( * u ) ; q [ 1 ] = * a ; for ( i = 2 ; i <= nn ; i ++ ) { c = p [ i ] - ( * a ) * ( * u ) - ( * b ) * ( * v ) ; q [ i ] = c ; * b = * a ; * a = c ; } }
Divides p by the quadratic 1,u,v placing the quotient in q and the remainder in a, b.
Divides p by the quadratic 1 u v placing the quotient in q and the remainder in a b .