Merge pull request #1515 from martin-frbg/mipsdot
Correct precision of mips dsdot
This commit is contained in:
commit
2ca0faf495
|
@ -41,8 +41,11 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
|
||||||
|
|
||||||
while(i < n)
|
while(i < n)
|
||||||
{
|
{
|
||||||
|
#if defined(DSDOT)
|
||||||
dot += y[iy] * x[ix] ;
|
dot += (double)(y[iy] * (double)x[ix] ;
|
||||||
|
#else
|
||||||
|
dot += y[iy] * x[ix];
|
||||||
|
#endif
|
||||||
ix += inc_x ;
|
ix += inc_x ;
|
||||||
iy += inc_y ;
|
iy += inc_y ;
|
||||||
i++ ;
|
i++ ;
|
||||||
|
|
Loading…
Reference in New Issue