XDR.DoubleFloat (Elixir XDR v0.3.11) View Source
This module manages the Double-Precision Floating-Point
type based on the RFC4506 XDR Standard.
Link to this section Summary
Functions
Decode the Double-Precision Floating-Point in XDR format to a XDR.DoubleFloat
structure.
Decode the Double-Precision Floating-Point in XDR format to a XDR.DoubleFloat
structure.
If the binaries are not valid, an exception is raised.
Encode a XDR.DoubleFloat
structure into a XDR format.
Encode a XDR.DoubleFloat
structure into a XDR format.
If the double_float
is not valid, an exception is raised.
Create a new XDR.DoubleFloat
structure from the float
passed.
Link to this section Types
Specs
Specs
t() :: %XDR.DoubleFloat{float: float_number()}
XDR.DoubleFloat
struct type specification.
Link to this section Functions
Decode the Double-Precision Floating-Point in XDR format to a XDR.DoubleFloat
structure.
Decode the Double-Precision Floating-Point in XDR format to a XDR.DoubleFloat
structure.
If the binaries are not valid, an exception is raised.
Encode a XDR.DoubleFloat
structure into a XDR format.
Encode a XDR.DoubleFloat
structure into a XDR format.
If the double_float
is not valid, an exception is raised.
Specs
new(float :: float_number()) :: t()
Create a new XDR.DoubleFloat
structure from the float
passed.