The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Method on @infsup: bitunpack (X)

Encode bare interval X in interchange format.

The result is a raw bit pattern of length 128 that derive from two binary64 numbers. Bits are in increasing order. Byte order depends on the system’s endianness. First 8 bytes come from the lower interval boundary, last 8 bytes come from the upper interval boundary.

The result is a row vector if X is a row vector; otherwise, it is a column vector.

For all scalar intervals the following equation holds: X == interval_bitpack (bitunpack (X)).

See also: interval_bitpack.

Package: interval