#1944: round function causes cblas NaNs
---------------------------+------------------------------------------------
 Reporter:  SevenThunders  |          Owner:         
     Type:  bug            |         Status:  new    
 Priority:  normal         |      Milestone:  6.8.2  
Component:  Compiler       |        Version:  6.8.1  
 Severity:  critical       |     Resolution:         
 Keywords:                 |     Difficulty:  Unknown
 Testcase:                 |   Architecture:  x86    
       Os:  Windows        |  
---------------------------+------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => 6.8.2

Comment:

 Thanks for the testcase! What is the correct output, and what output do
 you get but not expect?
 With atlas321_WinNT_PII.zip from
 http://www.netlib.org/atlas/archives/windows/ I get:
 {{{
 $ ghc --make Test2.hs ctest2.c -lcblas -latlas -threaded -O -fffi
 -Latlas/WinNT_PII/
 Linking Test2.exe ...
 $ ./Test2
 "rounded base = 0"
 C[0] = 2
 C[1] = 2
 C[2] = 2
 C[3] = 2
 }}}
 which I assume is correct, and with your atlas.dll I get:
 {{{
 $ dlltool.exe -D atlas.dll -l atlas.lib
 $ ghc -threaded -O -fffi --make Test2.hs ctest2.c -o Test2.exe -optl-
 latlas -optl-L"."
 [1 of 1] Compiling Main             ( Test2.hs, Test2.o )
 Linking Test2.exe ...
 $ ./Test2
 $
 }}}
 which looks broken, but in a different way than you were expecting?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1944#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to