Package org.gnome.glib
Class DoubleIEEE754
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.glib.DoubleIEEE754
- All Implemented Interfaces:
Proxy
The
GFloatIEEE754
and GDoubleIEEE754
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.-
Constructor Summary
ConstructorDescriptionDoubleIEEE754
(Arena arena) Allocate a new DoubleIEEE754.DoubleIEEE754
(MemorySegment address) Create a DoubleIEEE754 proxy instance for the provided memory address. -
Method Summary
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
DoubleIEEE754
Create a DoubleIEEE754 proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
DoubleIEEE754
Allocate a new DoubleIEEE754.- Parameters:
arena
- to control the memory allocation scope
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-