62 lines
4.8 KiB
HTML
62 lines
4.8 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="concept" />
|
||
|
<meta name="DC.Title" content="Use floating-point fields in database file access paths" />
|
||
|
<meta name="abstract" content="The collating sequence for records in a keyed database file depends on the presence of the SIGNED, UNSIGNED, and ABSVAL keywords in data description specifications (DDS). For floating-point fields, the sign is the farthest-left bit, the exponent is next, and the significant is last." />
|
||
|
<meta name="description" content="The collating sequence for records in a keyed database file depends on the presence of the SIGNED, UNSIGNED, and ABSVAL keywords in data description specifications (DDS). For floating-point fields, the sign is the farthest-left bit, the exponent is next, and the significant is last." />
|
||
|
<meta name="DC.subject" content="floating point field, use in access paths, field, using, floating point in access paths, access path, floating point fields, SIGNED (Signed) keyword, UNSIGNED (Unsigned) keyword, Unsigned (UNSIGNED) keyword, ABSVAL (Absolute Value) keyword, Absolute Value (ABSVAL) keyword, keyword, DDS, SIGNED (Signed), UNSIGNED (Unsigned), ABSVAL (Absolute Value), REFACCPTH (Reference Access Path Definition)" />
|
||
|
<meta name="keywords" content="floating point field, use in access paths, field, using, floating point in access paths, access path, floating point fields, SIGNED (Signed) keyword, UNSIGNED (Unsigned) keyword, Unsigned (UNSIGNED) keyword, ABSVAL (Absolute Value) keyword, Absolute Value (ABSVAL) keyword, keyword, DDS, SIGNED (Signed), UNSIGNED (Unsigned), ABSVAL (Absolute Value), REFACCPTH (Reference Access Path Definition)" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafoapath.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbafofpaccp" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Use floating-point fields in database file access paths</title>
|
||
|
</head>
|
||
|
<body id="rbafofpaccp"><a name="rbafofpaccp"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Use floating-point fields in database file access paths</h1>
|
||
|
<div><p>The collating sequence for records in a keyed database file depends
|
||
|
on the presence of the SIGNED, UNSIGNED, and ABSVAL keywords in data description
|
||
|
specifications (DDS). For floating-point fields, the sign is the farthest-left
|
||
|
bit, the exponent is next, and the significant is last.</p>
|
||
|
<div class="p">The collating sequence with UNSIGNED specified is: <ul><li>Positive real numbers—positive infinity</li>
|
||
|
<li>Negative real numbers—negative infinity</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<p>A floating-point key field with the SIGNED keyword specified, or defaulted
|
||
|
to, in DDS has an algebraic numeric sequence. The collating sequence is negative
|
||
|
infinity—real numbers—positive infinity.</p>
|
||
|
<p>A floating-point key field with the ABSVAL keyword specified in DDS has
|
||
|
an absolute value numeric sequence.</p>
|
||
|
<div class="p">The following floating-point collating sequences are observed: <ul><li>Zero (positive or negative) collates in the same manner as any other positive/negative
|
||
|
real number.</li>
|
||
|
<li>Negative zero collates before positive zero for SIGNED sequences.</li>
|
||
|
<li>Negative and positive zero collate the same for ABSVAL sequences.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<p>You cannot use not-a-number (*NAN) values in key fields. If you attempt
|
||
|
this, and a *NAN value is detected in a key field during file creation, the
|
||
|
file is not created.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafoapath.htm" title="These topics discuss the different ways of describing access paths for database files.">Describe access paths for database files</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|