/usr/share/doc/libstarlink-pal-doc/node15.html is in libstarlink-pal-doc 0.5.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2008 (1.71)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>palDfltin palDfltin
- Convert free-format input into double precision floating point
</TITLE>
<META NAME="description" CONTENT="palDfltin palDfltin
- Convert free-format input into double precision floating point
">
<META NAME="keywords" CONTENT="sun267">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="sun267.css">
<LINK REL="next" HREF="node16.html">
<LINK REL="previous" HREF="node14.html">
<LINK REL="up" HREF="node4.html">
<LINK REL="next" HREF="node16.html">
</HEAD>
<BODY >
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html296"
HREF="node16.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html294"
HREF="node4.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html288"
HREF="node14.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html297"
HREF="node16.html">palDh2e palDh2e - Horizon</A>
<B> Up:</B> <A NAME="tex2html295"
HREF="node4.html">Function Descriptions</A>
<B> Previous:</B> <A NAME="tex2html289"
HREF="node14.html">palDeuler palDeuler - Form</A>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION000411000000000000000"></A><A NAME="____palDfltin_"></A>
<BR>
palDfltin
palDfltin
- Convert free-format input into double precision floating point
</H2>
<DL>
<DT><STRONG>Description:</STRONG></DT>
<DD><DL>
<DD>Extracts a number from an input string starting at the specified
index.
</DD>
</DL>
<BR>
</DD>
<DT><STRONG>Invocation:</STRONG></DT>
<DD><DL>
<DD><TT> void palDfltin( const char <SPAN CLASS="MATH"><IMG
WIDTH="13" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
SRC="img1.png"
ALT="$*$"></SPAN> string, int <SPAN CLASS="MATH"><IMG
WIDTH="13" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
SRC="img1.png"
ALT="$*$"></SPAN>nstrt,
double <SPAN CLASS="MATH"><IMG
WIDTH="13" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
SRC="img1.png"
ALT="$*$"></SPAN>dreslt, int <SPAN CLASS="MATH"><IMG
WIDTH="13" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
SRC="img1.png"
ALT="$*$"></SPAN>jflag );
</TT>
</DD>
</DL>
<BR>
</DD>
<DT><STRONG>Arguments:</STRONG></DT>
<DD>
<BR> <DL>
<DT><STRONG>
string = const char <SPAN CLASS="MATH"><IMG
WIDTH="13" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
SRC="img1.png"
ALT="$*$"></SPAN> (Given)
</STRONG></DT>
<DD>
String containing number to be decoded.
</DD>
<DT><STRONG>
nstrt = int <SPAN CLASS="MATH"><IMG
WIDTH="13" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
SRC="img1.png"
ALT="$*$"></SPAN> (Given and Returned)
</STRONG></DT>
<DD>
Character number indicating where decoding should start.
On output its value is updated to be the location of the
possible next value. For compatibility with SLA the first
character is index 1.
</DD>
<DT><STRONG>
dreslt = double <SPAN CLASS="MATH"><IMG
WIDTH="13" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
SRC="img1.png"
ALT="$*$"></SPAN> (Returned)
</STRONG></DT>
<DD>
Result. Not updated when jflag=1.
</DD>
<DT><STRONG>
jflag = int <SPAN CLASS="MATH"><IMG
WIDTH="13" HEIGHT="18" ALIGN="BOTTOM" BORDER="0"
SRC="img1.png"
ALT="$*$"></SPAN> (Returned)
</STRONG></DT>
<DD>
status: -1 = -OK, 0 = <SPAN CLASS="MATH"><IMG
WIDTH="18" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img2.png"
ALT="$+$"></SPAN>OK, 1 = null, 2 = error
</DD>
</DL>
<BR>
</DD>
<DT><STRONG>Notes:</STRONG></DT>
<DD><UL>
<LI>Uses the strtod() system call to do the parsing. This may lead to
subtle differences when compared to the SLA/F parsing.
<P>
</LI>
<LI>All <TT>"</TT>D<TT>"</TT> characters are converted to <TT>"</TT>E<TT>"</TT> to handle fortran exponents.
<P>
</LI>
<LI>Commas are recognized as a special case and are skipped if one happens
to be the next character when updating nstrt. Additionally the output
nstrt position will skip past any trailing space.
<P>
</LI>
<LI>If no number can be found flag will be set to 1.
<P>
</LI>
<LI>If the number overflows or underflows jflag will be set to 2. For overflow
the returned result will have the value HUGE_VAL, for underflow it
will have the value 0.0.
<P>
</LI>
<LI>For compatiblity with SLA/F -0 will be returned as <TT>"</TT>0<TT>"</TT> with jflag == -1.
<P>
</LI>
<LI>Unlike slaDfltin a standalone <TT>"</TT>E<TT>"</TT> will return status 1 (could not find
a number) rather than 2 (bad number).
</LI>
</UL>
<BR>
</DD>
</DL>
<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html296"
HREF="node16.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html294"
HREF="node4.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html288"
HREF="node14.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html297"
HREF="node16.html">palDh2e palDh2e - Horizon</A>
<B> Up:</B> <A NAME="tex2html295"
HREF="node4.html">Function Descriptions</A>
<B> Previous:</B> <A NAME="tex2html289"
HREF="node14.html">palDeuler palDeuler - Form</A></DIV>
<!--End of Navigation Panel-->
</BODY>
</HTML>
|