From a5a7d08b73223a9bd6022aebfcd32dfd42f6633a Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Wed, 23 Mar 2011 11:25:21 +0000 Subject: findNaN --- hmatrix.cabal | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'hmatrix.cabal') diff --git a/hmatrix.cabal b/hmatrix.cabal index 3048217..51444af 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal @@ -86,10 +86,14 @@ flag finit description: Force FPU initialization in foreing calls default: False -flag fpudebug +flag debugfpu description: Check FPU stack default: False +flag debugnan + description: Check NaN + default: False + library Build-Depends: base >= 4 && < 5, @@ -173,9 +177,12 @@ library if flag(finit) cpp-options: -DFINIT - if flag(fpudebug) + if flag(debugfpu) cc-options: -DFPUDEBUG + if flag(debugnan) + cc-options: -DNANDEBUG + if impl(ghc == 7.0.1) cpp-options: -DNONORMVTEST @@ -209,3 +216,7 @@ source-repository head location: http://patch-tag.com/r/aruiz/hmatrix -- location: http://code.haskell.org/hmatrix +-- Test-Suite tests +-- type: exitcode-stdio-1.0 +-- main-is: examples/tests.hs + -- cgit v1.2.3