Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 040e565

Browse files
committed
Ooops, found too more references to old conditions on floating point values.
1 parent ae18e9f commit 040e565

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

Doc/lib/libxdrlib.tex

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ \subsection{Packer Objects}
3636
\code{pack_enum}, \code{pack_bool}, \code{pack_uhyper},
3737
and \code{pack_hyper}.
3838

39-
The following methods pack floating point numbers, however they
40-
require C library support. Without the optional C built-in module,
41-
both of these methods will raise an \code{xdrlib.ConversionError}
42-
exception. See the note at the end of this chapter for details.
43-
4439
\begin{funcdesc}{pack_float}{value}
4540
Packs the single-precision floating point number \var{value}.
4641
\end{funcdesc}
@@ -138,8 +133,7 @@ \subsection{Unpacker Objects}
138133
In addition, every data type that can be packed with a \code{Packer},
139134
can be unpacked with an \code{Unpacker}. Unpacking methods are of the
140135
form \code{unpack_\var{type}}, and take no arguments. They return the
141-
unpacked object. The same caveats apply for \code{unpack_float} and
142-
\code{unpack_double} as above.
136+
unpacked object.
143137

144138
\begin{funcdesc}{unpack_float}{}
145139
Unpacks a single-precision floating point number.

Doc/libxdrlib.tex

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ \subsection{Packer Objects}
3636
\code{pack_enum}, \code{pack_bool}, \code{pack_uhyper},
3737
and \code{pack_hyper}.
3838

39-
The following methods pack floating point numbers, however they
40-
require C library support. Without the optional C built-in module,
41-
both of these methods will raise an \code{xdrlib.ConversionError}
42-
exception. See the note at the end of this chapter for details.
43-
4439
\begin{funcdesc}{pack_float}{value}
4540
Packs the single-precision floating point number \var{value}.
4641
\end{funcdesc}
@@ -138,8 +133,7 @@ \subsection{Unpacker Objects}
138133
In addition, every data type that can be packed with a \code{Packer},
139134
can be unpacked with an \code{Unpacker}. Unpacking methods are of the
140135
form \code{unpack_\var{type}}, and take no arguments. They return the
141-
unpacked object. The same caveats apply for \code{unpack_float} and
142-
\code{unpack_double} as above.
136+
unpacked object.
143137

144138
\begin{funcdesc}{unpack_float}{}
145139
Unpacks a single-precision floating point number.

0 commit comments

Comments
 (0)