Browse Source

Fix handling of NAN and INF

tags/v0.3.27
Martin Kroeker GitHub 1 year ago
parent
commit
d3d99c34f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      kernel/mips/zscal.c

+ 1
- 0
kernel/mips/zscal.c View File

@@ -63,6 +63,7 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da_r,FLOAT da_i, F
x[ip+1] = da_r * x[ip+1] + da_i * x[ip] ;
}
}
if (!isnan(x_ip] && !isinf(x[ip]))
x[ip] = temp;

ip += inc_x2;


Loading…
Cancel
Save