This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
define NAN and INFINITY if needed
tags/v0.3.27
Martin Kroeker
GitHub
1 year ago
parent
7df363e1e2
commit
d1ead06bd8
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
utest/test_zscal.c
+ 7
- 0
utest/test_zscal.c
View File
@@ -2,6 +2,13 @@
#include <cblas.h>
#ifdef BUILD_COMPLEX16
#ifndef NAN
#define NAN 0.0/0.0
#endif
#ifndef INFINITY
#define INFINITY 1.0/0.0
#endif
CTEST(zscal, i_nan)
{
double i[] = {0,1, 0,1, 0,1, 0,1, 0,1, 0,1, 0,1, 0,1, 0,1 };
Write
Preview
Loading…
Cancel
Save