We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a782103 + 0d2e486 commit 2527afaCopy full SHA for 2527afa
1 file changed
kernel/arm/zscal.c
@@ -60,6 +60,7 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
60
else
61
{
62
temp = - da_i * x[ip+1] ;
63
+ if (isnan(x[ip]) || isinf(x[ip])) temp = NAN;
64
x[ip+1] = da_i * x[ip] ;
65
}
66
0 commit comments