#2793: CLDouble is nothing like a long double
---------------------------------+------------------------------------------
    Reporter:  jedbrown          |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Component:  Compiler        
     Version:  6.11              |    Severity:  normal          
    Keywords:                    |    Testcase:                  
Architecture:  Unknown/Multiple  |          Os:  Unknown/Multiple
---------------------------------+------------------------------------------
 This affects all versions of GHC.  Why does the type exist when it is just
 a synonym for CDouble?  Either it should actually become a `long double'
 as the documentation says or it should just not exist.  From
 Foreign/C/Types.hs:

 {{{
 -- HACK: Currently no long double in the FFI, so we simply re-use double
 -- | Haskell type representing the C @long double@ type.
 FLOATING_TYPE(CLDouble,tyConCLDouble,"CLDouble",HTYPE_DOUBLE)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2793>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to