JargonFile/original/html/Q/quantifiers.html
2014-03-27 18:54:56 +00:00

81 lines
7.8 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>quantifiers</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../Q.html" title="Q"/><link rel="previous" href="quadruple-bucky.html" title="quadruple bucky"/><link rel="next" href="quantum-bogodynamics.html" title="quantum bogodynamics"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">quantifiers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="quadruple-bucky.html">Prev</a> </td><th width="60%" align="center">Q</th><td width="20%" align="right"> <a accesskey="n" href="quantum-bogodynamics.html">Next</a></td></tr></table><hr/></div><dt><a id="quantifiers"/><dt xmlns="" id="quantifiers"><b>quantifiers</b></dt></dt><dd><p> In techspeak and jargon, the standard metric prefixes used in the SI
(Système International) conventions for scientific measurement have
dual uses. With units of time or things that come in powers of 10, such as
money, they retain their usual meanings of multiplication by powers of
<tt class="literal">1000 = 10^3</tt>. But when used with bytes or
other things that naturally come in powers of 2, they usually denote
multiplication by powers of <tt class="literal">1024 = 2^10</tt>.</p><p>Here are the SI magnifying prefixes, along with the corresponding
binary interpretations in common use:</p><div class="literallayout"><p><br/>
prefix  decimal  binary<br/>
kilo-   1000^1   1024^1 = 2^10 = 1,024 <br/>
mega-   1000^2   1024^2 = 2^20 = 1,048,576 <br/>
giga-   1000^3   1024^3 = 2^30 = 1,073,741,824 <br/>
tera-   1000^4   1024^4 = 2^40 = 1,099,511,627,776 <br/>
peta-   1000^5   1024^5 = 2^50 = 1,125,899,906,842,624 <br/>
exa-    1000^6   1024^6 = 2^60 = 1,152,921,504,606,846,976 <br/>
zetta-  1000^7   1024^7 = 2^70 = 1,180,591,620,717,411,303,424 <br/>
yotta-  1000^8   1024^8 = 2^80 = 1,208,925,819,614,629,174,706,176 <br/>
</p></div><p>Here are the SI fractional prefixes:</p><div class="literallayout"><p><br/>
prefix  decimal     jargon usage<br/>
milli-  1000^-1     (seldom used in jargon)<br/>
micro-  1000^-2     small or human-scale (see <a href="../M/micro-.html"><i class="glossterm">micro-</i></a>)<br/>
nano-   1000^-3     even smaller (see <a href="../N/nano-.html"><i class="glossterm">nano-</i></a>)<br/>
pico-   1000^-4     even smaller yet (see <a href="../P/pico-.html"><i class="glossterm">pico-</i></a>)<br/>
femto-  1000^-5     (not used in jargon&#8212;yet)<br/>
atto-   1000^-6     (not used in jargon&#8212;yet)<br/>
zepto-  1000^-7     (not used in jargon&#8212;yet)<br/>
yocto-  1000^-8     (not used in jargon&#8212;yet)<br/>
</p></div><p>The prefixes zetta-, yotta-, zepto-, and yocto- have been included in
these tables purely for completeness and giggle value; they were adopted in
1990 by the <span class="foreignphrase"><i class="foreignphrase">19th Conference Generale des Poids et
Mesures</i></span>. The binary peta- and exa- loadings, though well
established, are not in jargon use either &#8212; yet. The prefix milli-,
denoting multiplication by <tt class="literal">1/1000</tt>, has
always been rare in jargon (there is, however, a standard joke about the
<span class="firstterm">millihelen</span> &#8212; notionally, the
amount of beauty required to launch one ship). See the entries on
<a href="../M/micro-.html"><i class="glossterm">micro-</i></a>, <a href="../P/pico-.html"><i class="glossterm">pico-</i></a>, and
<a href="../N/nano-.html"><i class="glossterm">nano-</i></a> for more information on connotative jargon use
of these terms. &#8216;Femto&#8217; and &#8216;atto&#8217; (which,
interestingly, derive not from Greek but from Danish) have not yet acquired
jargon loadings, though it is easy to predict what those will be once
computing technology enters the required realms of magnitude (however, see
<a href="../A/attoparsec.html"><i class="glossterm">attoparsec</i></a>).</p><p>There are, of course, some standard unit prefixes for powers of 10.
In the following table, the &#8216;prefix&#8217; column is the
international standard prefix for the appropriate power of ten; the
&#8216;binary&#8217; column lists jargon abbreviations and words for the
corresponding power of 2. The B-suffixed forms are commonly used for byte
quantities; the words &#8216;meg&#8217; and &#8216;gig&#8217; are nouns
that may (but do not always) pluralize with &#8216;s&#8217;.</p><div class="literallayout"><p><br/>
prefix   decimal   binary       pronunciation}<br/>
kilo-       k      K, KB,       <span class="emphasis"><em>kay</em></span><br/>
mega-       M      M, MB, meg   <span class="emphasis"><em>meg</em></span><br/>
giga-       G      G, GB, gig   <span class="emphasis"><em>gig</em></span>,<span class="emphasis"><em>jig</em></span><br/>
</p></div><p>Confusingly, hackers often use K or M as though they were suffix or
numeric multipliers rather than a prefix; thus &#8220;<span class="quote">2K dollars</span>&#8221;,
&#8220;<span class="quote">2M of disk space</span>&#8221;. This is also true (though less commonly)
of G.</p><p>Note that the formal SI metric prefix for 1000 is &#8216;k&#8217;;
some use this strictly, reserving &#8216;K&#8217; for multiplication by
1024 (KB is thus &#8216;kilobytes&#8217;).</p><p>K, M, and G used alone refer to quantities of bytes; thus, 64G is 64
gigabytes and &#8216;a K&#8217; is a kilobyte (compare mainstream use of
&#8216;a G&#8217; as short for &#8216;a grand&#8217;, that is, $1000).
Whether one pronounces &#8216;gig&#8217; with hard or soft &#8216;g&#8217;
depends on what one thinks the proper pronunciation of &#8216;giga-&#8217;
is.</p><p>Confusing 1000 and 1024 (or other powers of 2 and 10 close in
magnitude) &#8212; for example, describing a memory in units of 500K or
524K instead of 512K &#8212; is a sure sign of the
<a href="../M/marketroid.html"><i class="glossterm">marketroid</i></a>. One example of this: it is common to
refer to the capacity of 3.5&quot; floppies as &#8216;1.44 MB&#8217; In
fact, this is a completely <a href="../B/bogus.html"><i class="glossterm">bogus</i></a> number. The
correct size is 1440 KB, that is, 1440 * 1024 = 1474560 bytes. So the
&#8216;mega&#8217; in &#8216;1.44 MB&#8217; is compounded of two
&#8216;kilos&#8217;, one of which is 1024 and the other of which is 1000.
The correct number of megabytes would of course be 1440 / 1024 = 1.40625.
Alas, this fine point is probably lost on the world forever. [1993 update:
hacker Morgan Burke has proposed, to general approval on Usenet, the
following additional prefixes:</p><div class="informaltable"><table border="1"><colgroup><col/><col/></colgroup><tbody><tr><td>groucho</td><td>10^-30</td></tr><tr><td>harpo</td><td>10^-27</td></tr><tr><td>harpi</td><td>10^27</td></tr><tr><td>grouchi</td><td>10^30</td></tr></tbody></table></div><p>We observe that this would leave the prefixes zeppo-, gummo-, and
chico- available for future expansion. Sadly, there is little immediate
prospect that Mr. Burke's eminently sensible proposal will be
ratified.]</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="quadruple-bucky.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../Q.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="quantum-bogodynamics.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">quadruple bucky </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> quantum bogodynamics</td></tr></table></div></body></html>