Ticket #2793 (closed bug: fixed)
CLDouble is nothing like a long double
| Reported by: | jedbrown | Owned by: | igloo |
|---|---|---|---|
| Priority: | high | Milestone: | 6.12.1 |
| Component: | libraries/base | Version: | 6.11 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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)
Change History
Note: See
TracTickets for help on using
tickets.
