gi-glib-2.0.17: GLib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GLib.Unions.DoubleIEEE754

Contents

Description

The FloatIEEE754 and DoubleIEEE754 unions are used to access the sign, mantissa and exponent of IEEE floats and doubles. These unions are defined as appropriate for a given platform. IEEE floats and doubles are supported (used for storage) by at least Intel, PPC and Sparc.

Synopsis

Exported types

newZeroDoubleIEEE754 :: MonadIO m => m DoubleIEEE754 Source #

Construct a DoubleIEEE754 struct initialized to zero.

Properties

vDouble

the double value

getDoubleIEEE754VDouble :: MonadIO m => DoubleIEEE754 -> m Double Source #

Get the value of the “v_double” field. When overloading is enabled, this is equivalent to

get doubleIEEE754 #vDouble

setDoubleIEEE754VDouble :: MonadIO m => DoubleIEEE754 -> Double -> m () Source #

Set the value of the “v_double” field. When overloading is enabled, this is equivalent to

set doubleIEEE754 [ #vDouble := value ]