#endif
+#if defined (DSDOT)
+double CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
+#else
FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
+#endif
{
BLASLONG i=0;
BLASLONG ix=0,iy=0;
i = n1;
while(i < n)
{
-
+#if defined(DSDOT)
+ dot += (double)y[i] * (double)x[i] ;
+#else
dot += y[i] * x[i] ;
+#endif
i++ ;
}
+#if defined(DSDOT)
+ dot+=(double)mydot;
+#else
dot+=mydot;
+#endif
return(dot);
while(i < n1)
{
-
+#if defined (DSDOT)
+ dot += (double)y[iy] * (double)x[ix] + (double)y[iy+inc_y] * (double)x[ix+inc_x];
+#else
dot += y[iy] * x[ix] + y[iy+inc_y] * x[ix+inc_x];
+#endif
ix += inc_x*2 ;
iy += inc_y*2 ;
i+=2 ;
while(i < n)
{
-
+#if defined (DSDOT)
+ dot += (double)y[iy] * (double)x[ix] ;
+#else
dot += y[iy] * x[ix] ;
+#endif
ix += inc_x ;
iy += inc_y ;
i++ ;