long-double-0.1: FFI bindings for C long double

Copyright(C) 2018 Claude Heiland-Allen
LicenseBSD3
MaintainerClaude Heiland-Allen <claude@mathr.co.uk>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Numeric.LongDouble

Contents

Description

This module re-exports the default platform-specfic ABI for C's long double.

Synopsis

long double data type

data LongDouble Source #

The long double type on x86_64: 80bits of x87 FPU data in 128bits of space.

Constructors

LD !Word64 !Word64 

Instances

Eq LongDouble # 
Floating LongDouble # 
Fractional LongDouble # 
Num LongDouble # 
Ord LongDouble # 
Read LongDouble # 
Real LongDouble # 
RealFloat LongDouble # 
RealFrac LongDouble # 
Show LongDouble # 
Storable LongDouble Source # 

RealFrac alternatives

truncate' :: LongDouble -> LongDouble Source #

Alternate versions of RealFrac methods that keep the value as a long double.

round' :: LongDouble -> LongDouble Source #

Alternate versions of RealFrac methods that keep the value as a long double.

ceiling' :: LongDouble -> LongDouble Source #

Alternate versions of RealFrac methods that keep the value as a long double.

floor' :: LongDouble -> LongDouble Source #

Alternate versions of RealFrac methods that keep the value as a long double.

Conversions