Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > ff8e7344076b5fbaa54d805766a057bd > files > 36

libscs-devel-1.4.1-4.fc15.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>scs struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.15 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
<hr><h1>scs  Struct Reference</h1>The SCS data type. 
<a href="#_details">More...</a>
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
<tr><td nowrap align=right valign=top>unsigned int&nbsp;</td><td valign=bottom><a class="el" href="structscs.html#m0">h_word</a> [SCS_NB_WORDS]</td></tr>
<tr><td nowrap align=right valign=top>scs_db_number&nbsp;</td><td valign=bottom><a class="el" href="structscs.html#m1">exception</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="structscs.html#m2">index</a></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="structscs.html#m3">sign</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The SCS data type.
<p>
An SCS number is a a floating-point number in base 2^32.
<p>
<ul>
<li>Its mantissa is formed of SCS_NB_WORDS digits (currently 32 bits by default)</ul>
<ul>
<li>Its exponent is a 32-bit integer</ul>
<ul>
<li>It also has a sign field, and an exception field used to store and propagate IEEE-754 exceptions.</ul>
The real number represented by a scs structure is equal to: <img align="top" src="form_0.png">
 
<p>

<p>
Definition at line <a class="el" href="scs_8h-source.html#l00098">98</a> of file <a class="el" href="scs_8h-source.html">scs.h</a>.<hr><h2>Field Documentation</h2>
<a name="m0" doxytag="scs::h_word"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> unsigned int scs::h_word[SCS_NB_WORDS]
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
the digits, as 32 bits words.
<p>

<p>
Definition at line <a class="el" href="scs_8h-source.html#l00100">100</a> of file <a class="el" href="scs_8h-source.html">scs.h</a>.    </td>
  </tr>
</table>
<a name="m1" doxytag="scs::exception"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> scs_db_number scs::exception
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Used to store Nan,+/-0, Inf, etc and then let the hardware handle them.
<p>

<p>
Definition at line <a class="el" href="scs_8h-source.html#l00102">102</a> of file <a class="el" href="scs_8h-source.html">scs.h</a>.
<p>
Referenced by <a class="el" href="addition__scs_8c-source.html#l00514">scs_add</a>(), and <a class="el" href="addition__scs_8c-source.html#l00539">scs_sub</a>().    </td>
  </tr>
</table>
<a name="m2" doxytag="scs::index"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int scs::index
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This corresponds to the exponent in an FP format, but here we are in base 2^32.
<p>

<p>
Definition at line <a class="el" href="scs_8h-source.html#l00105">105</a> of file <a class="el" href="scs_8h-source.html">scs.h</a>.
<p>
Referenced by <a class="el" href="division__scs_8c-source.html#l00038">scs_inv</a>().    </td>
  </tr>
</table>
<a name="m3" doxytag="scs::sign"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int scs::sign
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The sign equals 1 or -1.
<p>

<p>
Definition at line <a class="el" href="scs_8h-source.html#l00107">107</a> of file <a class="el" href="scs_8h-source.html">scs.h</a>.    </td>
  </tr>
</table>
<hr><address align="right"><small>Generated on Tue Jun 17 10:15:52 2003 for SCSLib by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.15 </small></address>
</body>
</html>